public class DefaultCommandTaskExecutor extends BasicCommandTaskExecutor
CommandTaskInfo
via fork/exec.WINDOWS
Constructor and Description |
---|
DefaultCommandTaskExecutor() |
Modifier and Type | Method and Description |
---|---|
static void |
checkSupported(TaskExecutionContext context,
CommandTaskInfo task)
Checks if this executor can execute the given task, or raise an exception.
|
boolean |
isSupported(TaskExecutionContext context,
TaskInfo task)
Returns whether this executor supports executing the target task.
|
execute, execute, execute, getCommandLauncher, getCommandLauncher
public boolean isSupported(TaskExecutionContext context, TaskInfo task)
TaskExecutor
isSupported
in interface TaskExecutor
isSupported
in class BasicCommandTaskExecutor
context
- the current contexttask
- the target tasktrue
if this supports the target task, otherwise false
public static void checkSupported(TaskExecutionContext context, CommandTaskInfo task)
context
- the current contexttask
- the target taskCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.