public class ProcessBuilderEngine extends Object implements CommandLineToolExecutionEngine<ProcessBuilderEngine.Handle>
Modifier and Type | Class and Description |
---|---|
static class |
ProcessBuilderEngine.Handle |
Constructor and Description |
---|
ProcessBuilderEngine() |
Modifier and Type | Method and Description |
---|---|
ProcessBuilderEngine.Handle |
submit(CommandLineToolInvocation invocation)
Schedule specified
CommandLineToolInvocation for execution using this engine. |
public ProcessBuilderEngine.Handle submit(CommandLineToolInvocation invocation)
CommandLineToolExecutionEngine
CommandLineToolInvocation
for execution using this engine.
Once the execution is scheduled, it's up to the engine to decide when the execution will start.
The returned handle allows some control over the execution, not all engine support the same set of features.
Refer to the specific execution engine documentation.
NOTE: A execution engine may not support all the feature an invocation may be requesting. It is up to the strategy of each engine to decide if the feature will be ignored or an exception will be thrown.
submit
in interface CommandLineToolExecutionEngine<ProcessBuilderEngine.Handle>
invocation
- the command line invocation information to executeCommandLineToolExecutionHandle
instance, never null.