T
- Type of Node/Task IDR
- Type of Node/Task resultpublic abstract static class TaskProvider.Task<T,R> extends Object
Constructor and Description |
---|
TaskProvider.Task() |
Modifier and Type | Method and Description |
---|---|
abstract R |
execute()
Framework would call this method, when it comes for tasks to be executed.
|
boolean |
shouldConsiderExecutionError() |
boolean |
shouldExecute(ExecutionResults<T,R> parentResults)
Defines whether or not this task should be executed
|
public abstract R execute()
public final boolean shouldConsiderExecutionError()
public boolean shouldExecute(ExecutionResults<T,R> parentResults)
parentResults
- true
If this task should be executed
false
If the task should be skippedCopyright © 2016 Dexecutor. All rights reserved.