com.pmease.quickbuild.stepsupport
Class StepRuntime
java.lang.Object
com.pmease.quickbuild.stepsupport.StepRuntime
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable
public class StepRuntime
- extends java.lang.Object
- implements java.io.Serializable, java.lang.Cloneable
This class stores execution information of a step.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StepRuntime
public StepRuntime()
getStatus
public StepRuntime.Status getStatus()
- Get execution status of the step. Will not be null.
setStatus
public void setStatus(StepRuntime.Status status)
getNodeAddress
public java.lang.String getNodeAddress()
- Get address of the node running this step.
setNodeAddress
public void setNodeAddress(java.lang.String nodeAddress)
getResources
public java.util.Map<java.lang.String,java.lang.Integer> getResources()
setResources
public void setResources(java.util.Map<java.lang.String,java.lang.Integer> resources)
getErrorMessage
public java.lang.String getErrorMessage()
- Get error message of this step. Null if no errors.
setErrorMessage
public void setErrorMessage(java.lang.String errorMessage)
getDuration
public java.lang.Long getDuration()
- Get duration of the step. Null if unknown.
setDuration
public void setDuration(java.lang.Long duration)
getCustomData
public java.lang.Object getCustomData()
setCustomData
public void setCustomData(java.lang.Object customData)
getWaitDuration
public java.lang.Long getWaitDuration()
- Get wait duration of this step in milliseconds. Null if unknown.
setWaitDuration
public void setWaitDuration(java.lang.Long waitDuration)
clone
public StepRuntime clone()
- Overrides:
clone
in class java.lang.Object
Copyright © 2005-2010 PMEase Inc. All Rights Reserved.