Class StepExecutionResultWrapper
- java.lang.Object
-
- com.dtolabs.rundeck.core.execution.workflow.steps.StepExecutionResultWrapper
-
- All Implemented Interfaces:
ExceptionStatusResult
,StatusResult
,HasSourceStepExecutionResult
,StepExecutionResult
public class StepExecutionResultWrapper extends java.lang.Object implements StepExecutionResult, HasSourceStepExecutionResult
-
-
Constructor Summary
Constructors Constructor Description StepExecutionResultWrapper(StepExecutionResult wrapped)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Throwable
getException()
java.util.Map<java.lang.String,java.lang.Object>
getFailureData()
java.lang.String
getFailureMessage()
FailureReason
getFailureReason()
StepExecutionResult
getSourceStepExecutionResult()
boolean
isSuccess()
java.lang.String
toString()
-
-
-
Constructor Detail
-
StepExecutionResultWrapper
public StepExecutionResultWrapper(StepExecutionResult wrapped)
-
-
Method Detail
-
getFailureData
public java.util.Map<java.lang.String,java.lang.Object> getFailureData()
- Specified by:
getFailureData
in interfaceStepExecutionResult
-
getFailureReason
public FailureReason getFailureReason()
- Specified by:
getFailureReason
in interfaceStepExecutionResult
-
getFailureMessage
public java.lang.String getFailureMessage()
- Specified by:
getFailureMessage
in interfaceStepExecutionResult
-
getException
public java.lang.Throwable getException()
- Specified by:
getException
in interfaceExceptionStatusResult
- Returns:
- any exception that was caught
-
isSuccess
public boolean isSuccess()
- Specified by:
isSuccess
in interfaceStatusResult
- Returns:
- true if the result was successful
-
getSourceStepExecutionResult
public StepExecutionResult getSourceStepExecutionResult()
- Specified by:
getSourceStepExecutionResult
in interfaceHasSourceStepExecutionResult
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-