Package com.netflix.conductor.common.run
Class Workflow
java.lang.Object
com.netflix.conductor.common.metadata.Auditable
com.netflix.conductor.common.run.Workflow
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()booleangetInput()intlonggetTaskByRefName(String refName) Convenience method for accessing the workflow definition name.intConvenience method for accessing the workflow definition version.inthashCode()booleanvoidvoidvoidsetPriority(int priority) voidsetStartTime(long startTime) A string representation of all relevant fields that identify this workflow.toString()Methods inherited from class com.netflix.conductor.common.metadata.Auditable
getCreateTime, getUpdateTime
-
Constructor Details
-
Workflow
public Workflow()
-
-
Method Details
-
getStartTime
public long getStartTime()- Returns:
- the startTime
-
setStartTime
public void setStartTime(long startTime) -
getInput
- Returns:
- the input
-
setInput
- Parameters:
input- the input to set
-
getOutput
- Returns:
- the output
-
setOutput
- Parameters:
output- the output to set
-
getPriority
public int getPriority()- Returns:
- the priority to define on tasks
-
setPriority
public void setPriority(int priority) - Parameters:
priority- priority of tasks (between 0 and 99)
-
getWorkflowName
Convenience method for accessing the workflow definition name.- Returns:
- the workflow definition name.
-
getWorkflowVersion
public int getWorkflowVersion()Convenience method for accessing the workflow definition version.- Returns:
- the workflow definition version.
-
hasParent
public boolean hasParent() -
getTaskByRefName
-
copy
- Returns:
- a deep copy of the workflow instance
-
toString
-
toShortString
A string representation of all relevant fields that identify this workflow. Intended for use in log and other system generated messages. -
equals
-
hashCode
public int hashCode()
-