T - Type of Node/Task IDR - Type of Node/Task resultpublic class ExecutionResult<T,R> extends Object implements Serializable
| Constructor and Description |
|---|
ExecutionResult(T id) |
ExecutionResult(T id,
R result) |
ExecutionResult(T id,
R result,
ExecutionStatus status) |
| Modifier and Type | Method and Description |
|---|---|
void |
errored()
Marks the execution result as errored
|
T |
getId() |
R |
getResult() |
ExecutionStatus |
getStatus() |
boolean |
isErrored() |
boolean |
isSkipped() |
boolean |
isSuccess() |
void |
skipped()
Marks the execution result as skipped
|
String |
toString() |
public ExecutionResult(T id)
public ExecutionResult(T id, R result, ExecutionStatus status)
public T getId()
public R getResult()
public ExecutionStatus getStatus()
public void errored()
public void skipped()
public boolean isSuccess()
true if the result is success false if the result
is not successpublic boolean isErrored()
true if the result is error false if the result
is not errorpublic boolean isSkipped()
true if the result is skipped false if the result
is not skippedCopyright © 2016 Dexecutor. All rights reserved.