public interface Task<W extends Work,D extends Enum<D>,F extends Enum<F>>
Work
.Modifier and Type | Method and Description |
---|---|
Object |
doTask(TaskContext<W,D,F> context)
Does the task.
|
Object doTask(TaskContext<W,D,F> context) throws Throwable
context
- TaskContext
for the Task
.Task
. This allows stringing
Task
instances together into a JobSequence
.Throwable
- Indicating failure of the Task
.Copyright © 2005–2016. All rights reserved.