T- The handle type returned by this engine for each submitted invocation.
public interface CommandLineToolExecutionEngine<T extends CommandLineToolExecutionHandle>
T submit(CommandLineToolInvocation invocation)
CommandLineToolInvocationfor 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.
invocation- the command line invocation information to execute
CommandLineToolExecutionHandleinstance, never null.