Class WorkflowSummary

java.lang.Object
com.netflix.conductor.common.run.WorkflowSummary

public class WorkflowSummary extends Object
Captures workflow summary info to be indexed in Elastic Search.
  • Constructor Details

    • WorkflowSummary

      public WorkflowSummary()
    • WorkflowSummary

      public WorkflowSummary(Workflow workflow)
  • Method Details

    • getWorkflowType

      public String getWorkflowType()
      Returns:
      the workflowType
    • getVersion

      public int getVersion()
      Returns:
      the version
    • getWorkflowId

      public String getWorkflowId()
      Returns:
      the workflowId
    • getCorrelationId

      public String getCorrelationId()
      Returns:
      the correlationId
    • getStartTime

      public String getStartTime()
      Returns:
      the startTime
    • getEndTime

      public String getEndTime()
      Returns:
      the endTime
    • getStatus

      public Workflow.WorkflowStatus getStatus()
      Returns:
      the status
    • getInput

      public String getInput()
      Returns:
      the input
    • getInputSize

      public long getInputSize()
    • getOutput

      public String getOutput()
      Returns:
      the output
    • getOutputSize

      public long getOutputSize()
    • getReasonForIncompletion

      public String getReasonForIncompletion()
      Returns:
      the reasonForIncompletion
    • getExecutionTime

      public long getExecutionTime()
      Returns:
      the executionTime
    • getUpdateTime

      public String getUpdateTime()
      Returns:
      the updateTime
    • getEvent

      public String getEvent()
      Returns:
      The event
    • setEvent

      public void setEvent(String event)
      Parameters:
      event - The event
    • getFailedReferenceTaskNames

      public String getFailedReferenceTaskNames()
    • setFailedReferenceTaskNames

      public void setFailedReferenceTaskNames(String failedReferenceTaskNames)
    • getFailedTaskNames

      public Set<String> getFailedTaskNames()
    • setFailedTaskNames

      public void setFailedTaskNames(Set<String> failedTaskNames)
    • setWorkflowType

      public void setWorkflowType(String workflowType)
    • setVersion

      public void setVersion(int version)
    • setWorkflowId

      public void setWorkflowId(String workflowId)
    • setCorrelationId

      public void setCorrelationId(String correlationId)
    • setStartTime

      public void setStartTime(String startTime)
    • setUpdateTime

      public void setUpdateTime(String updateTime)
    • setEndTime

      public void setEndTime(String endTime)
    • setStatus

      public void setStatus(Workflow.WorkflowStatus status)
    • setInput

      public void setInput(String input)
    • setOutput

      public void setOutput(String output)
    • setReasonForIncompletion

      public void setReasonForIncompletion(String reasonForIncompletion)
    • setExecutionTime

      public void setExecutionTime(long executionTime)
    • getExternalInputPayloadStoragePath

      public String getExternalInputPayloadStoragePath()
      Returns:
      the external storage path of the workflow input payload
    • setExternalInputPayloadStoragePath

      public void setExternalInputPayloadStoragePath(String externalInputPayloadStoragePath)
      Parameters:
      externalInputPayloadStoragePath - the external storage path where the workflow input payload is stored
    • getExternalOutputPayloadStoragePath

      public String getExternalOutputPayloadStoragePath()
      Returns:
      the external storage path of the workflow output payload
    • setExternalOutputPayloadStoragePath

      public void setExternalOutputPayloadStoragePath(String externalOutputPayloadStoragePath)
      Parameters:
      externalOutputPayloadStoragePath - the external storage path where the workflow output payload is stored
    • 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)
    • getCreatedBy

      public String getCreatedBy()
    • setCreatedBy

      public void setCreatedBy(String createdBy)
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object