VMware GemFire Java API Reference
Package org.apache.geode.management.cli
Interface CommandStatement
-
@Deprecated public interface CommandStatementDeprecated.since Geode 1.3. simply use commandProcessor to process the commandRepresents GemFire Command Line Interface (CLI) command strings. ACommandStatementinstance can be used multiple times to process the same command string repeatedly.- Since:
- GemFire 7.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.lang.StringgetCommandString()Deprecated.Returns the user specified command string.java.util.Map<java.lang.String,java.lang.String>getEnv()Deprecated.Returns the CLI environment variables.Resultprocess()Deprecated.Processes this command statement with the user specified command string and environmentbooleanvalidate()Deprecated.Returns whether the command statement is well formed.
-
-
-
Method Detail
-
getCommandString
java.lang.String getCommandString()
Deprecated.Returns the user specified command string.- Returns:
- the user specified command string
-
getEnv
java.util.Map<java.lang.String,java.lang.String> getEnv()
Deprecated.Returns the CLI environment variables.- Returns:
- the CLI environment variables
-
process
Result process()
Deprecated.Processes this command statement with the user specified command string and environment- Returns:
- The
Resultof the execution of this command statement.
-
validate
boolean validate()
Deprecated.Returns whether the command statement is well formed.- Returns:
- True if the command statement is well formed, false otherwise.
-
-