Interface CommandStatement


@Deprecated public interface CommandStatement
Deprecated.
since Geode 1.3. simply use commandProcessor to process the command
Represents GemFire Command Line Interface (CLI) command strings. A CommandStatement instance can be used multiple times to process the same command string repeatedly.
Since:
GemFire 7.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
    Returns the user specified command string.
    Deprecated.
    Returns the CLI environment variables.
    Deprecated.
    Processes this command statement with the user specified command string and environment
    boolean
    Deprecated.
    Returns whether the command statement is well formed.
  • Method Details

    • getCommandString

      String getCommandString()
      Deprecated.
      Returns the user specified command string.
      Returns:
      the user specified command string
    • getEnv

      Map<String,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 Result of 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.