protected class ClassifierPerformanceEvaluator.EvaluationCallback extends java.lang.Object implements StepTaskCallback<java.lang.Object[]>
| Modifier | Constructor and Description |
|---|---|
protected |
EvaluationCallback() |
| Modifier and Type | Method and Description |
|---|---|
void |
taskFailed(StepTask<java.lang.Object[]> failedTask,
ExecutionResult<java.lang.Object[]> failedResult)
Gets called if the
StepTask fails for some reason |
void |
taskFinished(ExecutionResult<java.lang.Object[]> result)
Gets called when the
StepTask finishes processing |
public void taskFinished(ExecutionResult<java.lang.Object[]> result) throws java.lang.Exception
StepTaskCallbackStepTask finishes processingtaskFinished in interface StepTaskCallback<java.lang.Object[]>result - the ExecutionrRsult produced by the taskjava.lang.Exception - if a problem occurspublic void taskFailed(StepTask<java.lang.Object[]> failedTask, ExecutionResult<java.lang.Object[]> failedResult) throws java.lang.Exception
StepTaskCallbackStepTask fails for some reasontaskFailed in interface StepTaskCallback<java.lang.Object[]>failedTask - the that failedfailedResult - the produced by
the failed task (might contain information pertaining to the
failure)java.lang.Exception - if a problem occurs