Class CliCommandExecutor
java.lang.Object
com.e1c.g5.v8.dt.internal.cli.api.CliCommandExecutor
- All Implemented Interfaces:
ICliCommandExecutor
Implementation of
ICliCommandExecutor
.-
Nested Class Summary
Nested classes/interfaces inherited from interface com.e1c.g5.v8.dt.cli.api.ICliCommandExecutor
ICliCommandExecutor.ICommandResult
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionExecutes 1C:EDT CLI command.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.e1c.g5.v8.dt.cli.api.ICliCommandExecutor
execute
-
Constructor Details
-
CliCommandExecutor
public CliCommandExecutor()
-
-
Method Details
-
execute
public ICliCommandExecutor.ICommandResult execute(String command, InputStream in, Map<String, Object> env) Description copied from interface:ICliCommandExecutor
Executes 1C:EDT CLI command.- Specified by:
execute
in interfaceICliCommandExecutor
- Parameters:
command
- command to execute, cannot benull
.in
- input stream to use forSystem.in
during the command execution. Cannot benull
.env
- session variables, cannot benull
.- Returns:
- command execution result, never
null
. - See Also:
-