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) |
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.