Class BaseWorkflowExecutor.BaseWorkflowExecutionResult
- java.lang.Object
-
- com.dtolabs.rundeck.core.execution.workflow.BaseWorkflowExecutor.BaseWorkflowExecutionResult
-
- All Implemented Interfaces:
ExceptionStatusResult
,StatusResult
,WorkflowDataResult
,WorkflowExecutionResult
,WorkflowStatusDataResult
,WorkflowStatusResult
- Enclosing class:
- BaseWorkflowExecutor
protected static class BaseWorkflowExecutor.BaseWorkflowExecutionResult extends java.lang.Object implements WorkflowExecutionResult
-
-
Constructor Summary
Constructors Constructor Description BaseWorkflowExecutionResult(java.util.List<StepExecutionResult> results, java.util.Map<java.lang.String,java.util.Collection<StepExecutionResult>> failures, java.util.Map<java.lang.Integer,StepExecutionResult> stepFailures, java.lang.Exception orig, WorkflowStatusResult status, WFSharedContext sharedContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ControlBehavior
getControlBehavior()
java.lang.Exception
getException()
java.util.Map<java.lang.String,java.util.Collection<StepExecutionResult>>
getNodeFailures()
java.util.List<StepExecutionResult>
getResultSet()
WFSharedContext
getSharedContext()
java.lang.String
getStatusString()
java.util.Map<java.lang.Integer,StepExecutionResult>
getStepFailures()
boolean
isSuccess()
java.lang.String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.dtolabs.rundeck.core.execution.StatusResult
isSuccess
-
Methods inherited from interface com.dtolabs.rundeck.core.execution.workflow.WorkflowDataResult
getSharedContext
-
Methods inherited from interface com.dtolabs.rundeck.core.execution.workflow.WorkflowStatusResult
getControlBehavior, getStatusString
-
-
-
-
Constructor Detail
-
BaseWorkflowExecutionResult
public BaseWorkflowExecutionResult(java.util.List<StepExecutionResult> results, java.util.Map<java.lang.String,java.util.Collection<StepExecutionResult>> failures, java.util.Map<java.lang.Integer,StepExecutionResult> stepFailures, java.lang.Exception orig, WorkflowStatusResult status, WFSharedContext sharedContext)
-
-
Method Detail
-
getResultSet
public java.util.List<StepExecutionResult> getResultSet()
- Specified by:
getResultSet
in interfaceWorkflowExecutionResult
- Returns:
- list of step results
-
getNodeFailures
public java.util.Map<java.lang.String,java.util.Collection<StepExecutionResult>> getNodeFailures()
- Specified by:
getNodeFailures
in interfaceWorkflowExecutionResult
- Returns:
- map of workflow item failures, keyed by node name
-
getException
public java.lang.Exception getException()
- Specified by:
getException
in interfaceExceptionStatusResult
- Returns:
- any exception that was caught
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getStepFailures
public java.util.Map<java.lang.Integer,StepExecutionResult> getStepFailures()
- Specified by:
getStepFailures
in interfaceWorkflowExecutionResult
- Returns:
- map of workflow item failures, keyed by node name
-
isSuccess
public boolean isSuccess()
- Specified by:
isSuccess
in interfaceStatusResult
- Returns:
- true if the result was successful
-
getStatusString
public java.lang.String getStatusString()
- Specified by:
getStatusString
in interfaceWorkflowStatusResult
- Returns:
- status string
-
getControlBehavior
public ControlBehavior getControlBehavior()
- Specified by:
getControlBehavior
in interfaceWorkflowStatusResult
- Returns:
- flow control behavior to use
-
getSharedContext
public WFSharedContext getSharedContext()
- Specified by:
getSharedContext
in interfaceWorkflowDataResult
-
-