Class NodeStepDataResultImpl
- java.lang.Object
-
- com.dtolabs.rundeck.core.execution.workflow.steps.StepExecutionResultImpl
-
- com.dtolabs.rundeck.core.execution.workflow.steps.node.NodeStepResultImpl
-
- com.dtolabs.rundeck.core.execution.workflow.steps.node.NodeStepDataResultImpl
-
- All Implemented Interfaces:
ExceptionStatusResult,HasSourceResult,StatusResult,HasSharedContext,ChainedNodeStepResult,NodeStepResult,StepExecutionResult
public class NodeStepDataResultImpl extends NodeStepResultImpl implements HasSharedContext, ChainedNodeStepResult
Created by greg on 6/3/16.
-
-
Constructor Summary
Constructors Constructor Description NodeStepDataResultImpl(NodeStepResult original, java.lang.Throwable exception, FailureReason failureReason, java.lang.String failureMessage, java.util.Map<java.lang.String,java.lang.Object> failureData, INodeEntry node, WFSharedContext sharedContext)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeStepResultgetOriginal()WFSharedContextgetSharedContext()java.lang.StringtoString()static NodeStepResultwith(NodeStepResult result, WFSharedContext dataContext)Add a data context to a source result-
Methods inherited from class com.dtolabs.rundeck.core.execution.workflow.steps.node.NodeStepResultImpl
getNode, setSharedContext
-
Methods inherited from class com.dtolabs.rundeck.core.execution.workflow.steps.StepExecutionResultImpl
equals, getException, getFailureData, getFailureMessage, getFailureReason, getSourceResult, hashCode, isSuccess, setException, setFailureData, setSourceResult, setSuccess, wrapStepException
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.dtolabs.rundeck.core.execution.ExceptionStatusResult
getException
-
Methods inherited from interface com.dtolabs.rundeck.core.execution.workflow.steps.node.NodeStepResult
getNode
-
Methods inherited from interface com.dtolabs.rundeck.core.execution.StatusResult
isSuccess
-
Methods inherited from interface com.dtolabs.rundeck.core.execution.workflow.steps.StepExecutionResult
getFailureData, getFailureMessage, getFailureReason
-
-
-
-
Constructor Detail
-
NodeStepDataResultImpl
public NodeStepDataResultImpl(NodeStepResult original, java.lang.Throwable exception, FailureReason failureReason, java.lang.String failureMessage, java.util.Map<java.lang.String,java.lang.Object> failureData, INodeEntry node, WFSharedContext sharedContext)
-
-
Method Detail
-
with
public static NodeStepResult with(NodeStepResult result, WFSharedContext dataContext)
Add a data context to a source result- Parameters:
result-dataContext-- Returns:
-
getSharedContext
public WFSharedContext getSharedContext()
- Specified by:
getSharedContextin interfaceHasSharedContext- Overrides:
getSharedContextin classNodeStepResultImpl
-
getOriginal
public NodeStepResult getOriginal()
- Specified by:
getOriginalin interfaceChainedNodeStepResult
-
toString
public java.lang.String toString()
- Overrides:
toStringin classStepExecutionResultImpl
-
-