public class BasicJobflowExecutor extends Object implements JobflowExecutor
| Constructor and Description |
|---|
BasicJobflowExecutor(Collection<? extends TaskExecutor> taskExecutors)
Creates a new instance.
|
BasicJobflowExecutor(TaskExecutor... taskExecutors)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
execute(TaskExecutionContext context,
JobflowInfo jobflow)
Executes the given jobflow.
|
public BasicJobflowExecutor(Collection<? extends TaskExecutor> taskExecutors)
taskExecutors - the task executorspublic BasicJobflowExecutor(TaskExecutor... taskExecutors)
taskExecutors - the task executorspublic void execute(TaskExecutionContext context, JobflowInfo jobflow) throws IOException, InterruptedException
JobflowExecutorexecute in interface JobflowExecutorcontext - the current contextjobflow - target jobflowIOException - if failed to create job processesInterruptedException - if interrupted while running tasksCopyright © 2011–2018 Asakusa Framework Team. All rights reserved.