Package weka.knowledgeflow
Class ExecutionResult<T>
java.lang.Object
weka.knowledgeflow.ExecutionResult<T>
- Type Parameters:
T
- the type of the result stored
- All Implemented Interfaces:
Serializable
Stores the result generated by a StepTask.
- Version:
- $Revision: $
- Author:
- Mark Hall (mhall{[at]}pentaho{[dot]}com)
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetError()
Get the Exception generated during processing of a StepTask, or null if the task completed successfully.Get the result generated by the StepTaskvoid
Set an exception, in the case that an error occurred during the processing done by a StepTaskvoid
Set the result generated by the StepTask
-
Constructor Details
-
ExecutionResult
public ExecutionResult()
-
-
Method Details
-
setError
Set an exception, in the case that an error occurred during the processing done by a StepTask- Parameters:
error
-
-
getError
Get the Exception generated during processing of a StepTask, or null if the task completed successfully.- Returns:
- the Exception generated, or null if the task completed successfully
-
setResult
Set the result generated by the StepTask- Parameters:
result
- the result generated by the StepTask
-
getResult
Get the result generated by the StepTask- Returns:
- the result generated by the StepTask
-