public interface CommandStatement
CommandStatement
instance can be used multiple times to process the same command string repeatedly.Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCommandString()
Returns the user specified command string.
|
java.util.Map<java.lang.String,java.lang.String> |
getEnv()
Returns the CLI environment variables.
|
Result |
process()
Processes this command statement with the user specified command string and environment
|
boolean |
validate()
Returns whether the command statement is well formed.
|
java.lang.String getCommandString()
java.util.Map<java.lang.String,java.lang.String> getEnv()
Result process()
Result
of the execution of this command statement.boolean validate()