Class Outcome
java.lang.Object
org.jenkinsci.plugins.workflow.support.steps.input.Outcome
- All Implemented Interfaces:
Serializable
Result of an evaluation.
Either represents a value in case of a normal return, or a throwable object in case of abnormal return.
Note that both fields can be null, in which case it means a normal return of the value 'null'.
- Author:
- Kohsuke Kawaguchi
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
replay()
toString()
Likereplay()
but wraps the throwable intoInvocationTargetException
.
-
Constructor Details
-
Outcome
-
-
Method Details
-
wrapReplay
Likereplay()
but wraps the throwable intoInvocationTargetException
.- Throws:
InvocationTargetException
-
replay
- Throws:
Throwable
-
getNormal
-
getAbnormal
-
isSuccess
public boolean isSuccess() -
isFailure
public boolean isFailure() -
toString
-