Package com.netflix.conductor.common.run
Class WorkflowSummary
java.lang.Object
com.netflix.conductor.common.run.WorkflowSummary
Captures workflow summary info to be indexed in Elastic Search.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetEvent()longgetInput()longlongintintinthashCode()voidsetCorrelationId(String correlationId) voidsetCreatedBy(String createdBy) voidsetEndTime(String endTime) voidvoidsetExecutionTime(long executionTime) voidsetExternalInputPayloadStoragePath(String externalInputPayloadStoragePath) voidsetExternalOutputPayloadStoragePath(String externalOutputPayloadStoragePath) voidsetFailedReferenceTaskNames(String failedReferenceTaskNames) voidsetFailedTaskNames(Set<String> failedTaskNames) voidvoidvoidsetPriority(int priority) voidsetReasonForIncompletion(String reasonForIncompletion) voidsetStartTime(String startTime) voidsetStatus(Workflow.WorkflowStatus status) voidsetUpdateTime(String updateTime) voidsetVersion(int version) voidsetWorkflowId(String workflowId) voidsetWorkflowType(String workflowType)
-
Constructor Details
-
WorkflowSummary
public WorkflowSummary() -
WorkflowSummary
-
-
Method Details
-
getWorkflowType
- Returns:
- the workflowType
-
getVersion
public int getVersion()- Returns:
- the version
-
getWorkflowId
- Returns:
- the workflowId
-
getCorrelationId
- Returns:
- the correlationId
-
getStartTime
- Returns:
- the startTime
-
getEndTime
- Returns:
- the endTime
-
getStatus
- Returns:
- the status
-
getInput
- Returns:
- the input
-
getInputSize
public long getInputSize() -
getOutput
- Returns:
- the output
-
getOutputSize
public long getOutputSize() -
getReasonForIncompletion
- Returns:
- the reasonForIncompletion
-
getExecutionTime
public long getExecutionTime()- Returns:
- the executionTime
-
getUpdateTime
- Returns:
- the updateTime
-
getEvent
- Returns:
- The event
-
setEvent
- Parameters:
event- The event
-
getFailedReferenceTaskNames
-
setFailedReferenceTaskNames
-
getFailedTaskNames
-
setFailedTaskNames
-
setWorkflowType
-
setVersion
public void setVersion(int version) -
setWorkflowId
-
setCorrelationId
-
setStartTime
-
setUpdateTime
-
setEndTime
-
setStatus
-
setInput
-
setOutput
-
setReasonForIncompletion
-
setExecutionTime
public void setExecutionTime(long executionTime) -
getExternalInputPayloadStoragePath
- Returns:
- the external storage path of the workflow input payload
-
setExternalInputPayloadStoragePath
- Parameters:
externalInputPayloadStoragePath- the external storage path where the workflow input payload is stored
-
getExternalOutputPayloadStoragePath
- Returns:
- the external storage path of the workflow output payload
-
setExternalOutputPayloadStoragePath
- 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
-
setCreatedBy
-
equals
-
hashCode
public int hashCode()
-