public interface TaskExecutor
TaskInfo.| Modifier and Type | Method and Description |
|---|---|
void |
execute(TaskExecutionContext context,
TaskInfo task)
Executes a task.
|
boolean |
isSupported(TaskExecutionContext context,
TaskInfo task)
Returns whether this executor supports executing the target task.
|
boolean isSupported(TaskExecutionContext context, TaskInfo task)
context - the current contexttask - the target tasktrue if this supports the target task, otherwise falsevoid execute(TaskExecutionContext context, TaskInfo task) throws InterruptedException, IOException
context - the current contexttask - the target taskInterruptedException - if interrupted while executing the taskIOException - if task execution was failedCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.