GemFire 7.0.1

com.gemstone.gemfire.management.cli
Interface CommandStatement


public interface CommandStatement

Represents GemFire Command Line Interface (CLI) command strings. A CommandStatement instance can be used multiple times to process the same command string repeatedly.

Since:
7.0

Method Summary
 String getCommandString()
          Returns the user specified command string.
 Map<String,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.
 

Method Detail

getCommandString

String getCommandString()
Returns the user specified command string.


getEnv

Map<String,String> getEnv()
Returns the CLI environment variables.


process

Result process()
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()
Returns whether the command statement is well formed.

Returns:
True if the command statement is well formed, false otherwise.

GemFire 7.0.1

Copyright © 1997-2013 VMware, Inc. All rights reserved.