public class PipeOperator extends java.lang.Object implements TerminalCommandOperator
Constructor and Description |
---|
PipeOperator() |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
consumes(java.lang.String command,
CommandParser parser,
ExecuteCommandConfig config) |
CommandResult |
execute(java.lang.String command,
CommandParser parser,
ExecuteCommandConfig config,
TerminalSession session) |
public java.lang.Integer consumes(java.lang.String command, CommandParser parser, ExecuteCommandConfig config)
consumes
in interface TerminalCommandOperator
public CommandResult execute(java.lang.String command, CommandParser parser, ExecuteCommandConfig config, TerminalSession session) throws TerminalException
execute
in interface TerminalCommandOperator
TerminalException