com.dtolabs.rundeck.core.execution.workflow.state
Class StepStateImpl

java.lang.Object
  extended by com.dtolabs.rundeck.core.execution.workflow.state.StepStateImpl
All Implemented Interfaces:
StepState

public class StepStateImpl
extends java.lang.Object
implements StepState

$INTERFACE is ... User: greg Date: 10/15/13 Time: 4:13 PM


Constructor Summary
StepStateImpl()
           
 
Method Summary
 java.util.Date getEndTime()
          Timestamp that the executionState was completed
 java.lang.String getErrorMessage()
          Potential error message if state is failed
 ExecutionState getExecutionState()
          The execution state
 java.util.Map getMetadata()
          Any metadata
 java.util.Date getStartTime()
          Timestamp that the executionState left WAITING
 java.util.Date getUpdateTime()
          Last timestamp that the executionState changed
 void setEndTime(java.util.Date endTime)
           
 void setErrorMessage(java.lang.String errorMessage)
           
 void setExecutionState(ExecutionState executionState)
           
 void setMetadata(java.util.Map metadata)
           
 void setStartTime(java.util.Date startTime)
           
 void setUpdateTime(java.util.Date updateTime)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StepStateImpl

public StepStateImpl()
Method Detail

getMetadata

public java.util.Map getMetadata()
Description copied from interface: StepState
Any metadata

Specified by:
getMetadata in interface StepState
Returns:

setMetadata

public void setMetadata(java.util.Map metadata)

getErrorMessage

public java.lang.String getErrorMessage()
Description copied from interface: StepState
Potential error message if state is failed

Specified by:
getErrorMessage in interface StepState
Returns:

setErrorMessage

public void setErrorMessage(java.lang.String errorMessage)

getExecutionState

public ExecutionState getExecutionState()
Description copied from interface: StepState
The execution state

Specified by:
getExecutionState in interface StepState
Returns:

setExecutionState

public void setExecutionState(ExecutionState executionState)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getStartTime

public java.util.Date getStartTime()
Description copied from interface: StepState
Timestamp that the executionState left WAITING

Specified by:
getStartTime in interface StepState
Returns:

setStartTime

public void setStartTime(java.util.Date startTime)

getEndTime

public java.util.Date getEndTime()
Description copied from interface: StepState
Timestamp that the executionState was completed

Specified by:
getEndTime in interface StepState
Returns:

setEndTime

public void setEndTime(java.util.Date endTime)

getUpdateTime

public java.util.Date getUpdateTime()
Description copied from interface: StepState
Last timestamp that the executionState changed

Specified by:
getUpdateTime in interface StepState
Returns:

setUpdateTime

public void setUpdateTime(java.util.Date updateTime)