public class InProcessWindGateFinalizeTaskExecutor extends Object implements TaskExecutor
TaskExecutor
for windgate/bin/finalize
.Constructor and Description |
---|
InProcessWindGateFinalizeTaskExecutor() |
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.
|
public InProcessWindGateFinalizeTaskExecutor()
public boolean isSupported(TaskExecutionContext context, TaskInfo task)
TaskExecutor
isSupported
in interface TaskExecutor
context
- the current contexttask
- the target tasktrue
if this supports the target task, otherwise false
public void execute(TaskExecutionContext context, TaskInfo task) throws InterruptedException, IOException
TaskExecutor
execute
in interface TaskExecutor
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.