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 ControlBehaviorgetControlBehavior()java.lang.ExceptiongetException()java.util.Map<java.lang.String,java.util.Collection<StepExecutionResult>>getNodeFailures()java.util.List<StepExecutionResult>getResultSet()WFSharedContextgetSharedContext()java.lang.StringgetStatusString()java.util.Map<java.lang.Integer,StepExecutionResult>getStepFailures()booleanisSuccess()java.lang.StringtoString()-
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:
getResultSetin interfaceWorkflowExecutionResult- Returns:
- list of step results
-
getNodeFailures
public java.util.Map<java.lang.String,java.util.Collection<StepExecutionResult>> getNodeFailures()
- Specified by:
getNodeFailuresin interfaceWorkflowExecutionResult- Returns:
- map of workflow item failures, keyed by node name
-
getException
public java.lang.Exception getException()
- Specified by:
getExceptionin interfaceExceptionStatusResult- Returns:
- any exception that was caught
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getStepFailures
public java.util.Map<java.lang.Integer,StepExecutionResult> getStepFailures()
- Specified by:
getStepFailuresin interfaceWorkflowExecutionResult- Returns:
- map of workflow item failures, keyed by node name
-
isSuccess
public boolean isSuccess()
- Specified by:
isSuccessin interfaceStatusResult- Returns:
- true if the result was successful
-
getStatusString
public java.lang.String getStatusString()
- Specified by:
getStatusStringin interfaceWorkflowStatusResult- Returns:
- status string
-
getControlBehavior
public ControlBehavior getControlBehavior()
- Specified by:
getControlBehaviorin interfaceWorkflowStatusResult- Returns:
- flow control behavior to use
-
getSharedContext
public WFSharedContext getSharedContext()
- Specified by:
getSharedContextin interfaceWorkflowDataResult
-
-