Class ManagerTask
java.lang.Object
org.tasktide.core.manager.ManagerTask
-
Constructor Summary
ConstructorsConstructorDescriptionNull constructorManagerTask(String taskName, String taskScript) Construct with task name and scriptManagerTask(String taskName, String taskScript, String stepName, CustomAnnotation anno) Construct with attributes -
Method Summary
Modifier and TypeMethodDescriptionRepresent asItemTaskasMap()Generate a command map fromManagerTaskRepresent asWorkItemgetAnno()GetCustomAnnotationGet step nameGet task nameGet task scriptvoidsetAnno(CustomAnnotation anno) SetCustomAnnotationvoidsetStepName(String stepName) Set step namevoidsetTaskName(String taskName) Set task namevoidsetTaskScript(String taskScript) Set task scriptSerialize to a human readable formatted JSON stringSerialize to JSON stringtoString()Represent as String
-
Constructor Details
-
ManagerTask
public ManagerTask()Null constructor -
ManagerTask
-
ManagerTask
Construct with attributes- Parameters:
taskName-taskScript-stepName-anno-
-
-
Method Details
-
asMap
Generate a command map fromManagerTask- Returns:
- Map-String, Object
-
asItemTask
-
asWorkItem
-
getTaskName
-
setTaskName
-
getTaskScript
-
setTaskScript
-
getStepName
-
setStepName
-
getAnno
-
setAnno
-
toJsonString
-
toJsonDoc
-
toString
-