Class Task
java.lang.Object
com.netflix.conductor.common.metadata.tasks.Task
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()deepCopy()booleanlonginthashCode()voidbooleanvoidsetInputData(Map<String, Object> inputData) voidsetOutputData(Map<String, Object> outputData) voidsetReasonForIncompletion(String reasonForIncompletion) voidsetSubWorkflowId(String subWorkflowId) setWorkflowType(String workflowType) toString()
-
Constructor Details
-
Task
public Task()
-
-
Method Details
-
setInputData
-
getQueueWaitTime
public long getQueueWaitTime() -
incrementPollCount
public void incrementPollCount() -
getTaskDefName
-
setWorkflowType
- Parameters:
workflowType- the name of the workflow- Returns:
- the task object with the workflow type set
-
setReasonForIncompletion
-
setOutputData
-
getTaskDefinition
-
isLoopOverTask
public boolean isLoopOverTask() -
getExecutionMetadata
-
getSubWorkflowId
-
setSubWorkflowId
-
copy
-
deepCopy
- Returns:
- a deep copy of the task instance To be used inside copy Workflow method to provide a
valid deep copied object. Note: This does not copy the following fields:
- retried
- updateTime
- retriedTaskId
-
toString
-
equals
-
hashCode
public int hashCode()
-