Class Workflow

java.lang.Object
com.netflix.conductor.common.metadata.Auditable
com.netflix.conductor.common.run.Workflow

public class Workflow extends Auditable
  • Constructor Details

    • Workflow

      public Workflow()
  • Method Details

    • getStartTime

      public long getStartTime()
      Returns:
      the startTime
    • setStartTime

      public void setStartTime(long startTime)
    • getInput

      public Map<String,Object> getInput()
      Returns:
      the input
    • setInput

      public void setInput(Map<String,Object> input)
      Parameters:
      input - the input to set
    • getOutput

      public Map<String,Object> getOutput()
      Returns:
      the output
    • setOutput

      public void setOutput(Map<String,Object> output)
      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

      public String 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

      public Task getTaskByRefName(String refName)
    • copy

      public Workflow copy()
      Returns:
      a deep copy of the workflow instance
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toShortString

      public String toShortString()
      A string representation of all relevant fields that identify this workflow. Intended for use in log and other system generated messages.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object