T - the type of the result storedpublic class ExecutionResult<T> extends Object implements Serializable
| Constructor and Description |
|---|
ExecutionResult() |
| Modifier and Type | Method and Description |
|---|---|
Exception |
getError()
Get the Exception generated during processing of a StepTask, or null
if the task completed successfully.
|
T |
getResult()
Get the result generated by the StepTask
|
void |
setError(Exception error)
Set an exception, in the case that an error occurred during the
processing done by a StepTask
|
void |
setResult(T result)
Set the result generated by the StepTask
|
public void setError(Exception error)
error - public Exception getError()
public void setResult(T result)
result - the result generated by the StepTaskpublic T getResult()
Copyright © 2016 University of Waikato, Hamilton, NZ. All Rights Reserved.