public class LoggingEngine<T extends CommandLineToolExecutionHandle> extends Object implements CommandLineToolExecutionEngine<T>
|Modifier and Type||Method and Description|
public 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.
CommandLineToolExecutionEngine<T extends CommandLineToolExecutionHandle>
invocation- the command line invocation information to execute
CommandLineToolExecutionHandleinstance, never null.
public static <T extends CommandLineToolExecutionHandle> LoggingEngine<T> wrap(CommandLineToolExecutionEngine<T> engine)