Class StepStateImpl
- java.lang.Object
-
- com.dtolabs.rundeck.core.execution.workflow.state.StepStateImpl
-
- All Implemented Interfaces:
HasExecutionState,StepState
public class StepStateImpl extends java.lang.Object implements StepState
$INTERFACE is ... User: greg Date: 10/15/13 Time: 4:13 PM
-
-
Constructor Summary
Constructors Constructor Description StepStateImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.DategetEndTime()java.lang.StringgetErrorMessage()ExecutionStategetExecutionState()java.util.MapgetMetadata()java.util.DategetStartTime()java.util.DategetUpdateTime()voidsetEndTime(java.util.Date endTime)voidsetErrorMessage(java.lang.String errorMessage)voidsetExecutionState(ExecutionState executionState)voidsetMetadata(java.util.Map metadata)voidsetStartTime(java.util.Date startTime)voidsetUpdateTime(java.util.Date updateTime)java.lang.StringtoString()
-
-
-
Method Detail
-
getMetadata
public java.util.Map getMetadata()
- Specified by:
getMetadatain interfaceStepState- Returns:
- Any metadata
-
setMetadata
public void setMetadata(java.util.Map metadata)
-
getErrorMessage
public java.lang.String getErrorMessage()
- Specified by:
getErrorMessagein interfaceStepState- Returns:
- Potential error message if state is failed
-
setErrorMessage
public void setErrorMessage(java.lang.String errorMessage)
-
getExecutionState
public ExecutionState getExecutionState()
- Specified by:
getExecutionStatein interfaceHasExecutionState- Specified by:
getExecutionStatein interfaceStepState- Returns:
- the execution state
-
setExecutionState
public void setExecutionState(ExecutionState executionState)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getStartTime
public java.util.Date getStartTime()
- Specified by:
getStartTimein interfaceStepState- Returns:
- Timestamp that the executionState left WAITING
-
setStartTime
public void setStartTime(java.util.Date startTime)
-
getEndTime
public java.util.Date getEndTime()
- Specified by:
getEndTimein interfaceStepState- Returns:
- Timestamp that the executionState was completed
-
setEndTime
public void setEndTime(java.util.Date endTime)
-
getUpdateTime
public java.util.Date getUpdateTime()
- Specified by:
getUpdateTimein interfaceStepState- Returns:
- Last timestamp that the executionState changed
-
setUpdateTime
public void setUpdateTime(java.util.Date updateTime)
-
-