VMware GemFire Java API Reference
Package org.apache.geode.management.cli
Annotation Type CliMetaData
-
@Retention(RUNTIME) @Target({METHOD,PARAMETER}) public @interface CliMetaDataAn annotation to define additional meta-data for commands.- Since:
- GemFire 7.0
-
-
Field Summary
Fields Modifier and Type Fields Description static java.lang.StringANNOTATION_DEFAULT_VALUERepresents a default value to an option of a command.static java.lang.StringANNOTATION_NULL_VALUERepresents a null value to an option of a command.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.StringinterceptorThe fully qualified name of a class which implements theCliAroundInterceptorinterface in order to provide additional pre- and post-execution functionality for a command.booleanisFileDownloadOverHttpIndicates when executed over http, is this command downloading files from the member.booleanisFileUploadedIndicates whether this command would require fileData to be sent from the client.booleanisPersistedIndicates that the effect of the command is persisted or the commands affects the persistent configurationjava.lang.String[]relatedTopicIn help, topics that are related to this commandbooleanshellOnlyIndicates that the command will only run in the gfsh shell Gfsh ExecutionStrategy will use this flag to determine whether to invoke remote call or not.java.lang.StringvalueSeparatorDeprecated.since 1.2, Command methods may override both the delimiter and the escape through spring shell'ssplittingRegexoption context
-
-
-
-
isFileDownloadOverHttp
boolean isFileDownloadOverHttp
Indicates when executed over http, is this command downloading files from the member. When this is set to true, the RestHttpOperationInvoker will use an extractor to extract the inputstream in the response to a temporary file and it's up to your command's interceptor's postExecution to use that temp file to fit your need.- Returns:
- whether this command downloads files from the member over http
- Default:
- false
-
-
-
interceptor
java.lang.String interceptor
The fully qualified name of a class which implements theCliAroundInterceptorinterface in order to provide additional pre- and post-execution functionality for a command.- Returns:
- the fully qualified name of a class which implements the
CliAroundInterceptorinterface
- Default:
- "__NULL__"
-
-
-
valueSeparator
@Deprecated java.lang.String valueSeparator
Deprecated.since 1.2, Command methods may override both the delimiter and the escape through spring shell'ssplittingRegexoption contextString used as a separator when multiple values for a command are specified- Returns:
- the String used as a separator when multiple values for a command are specified
- Default:
- "__NULL__"
-
-