public class GlobalVariableHandler extends java.lang.Object implements CommandLineHandler
Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
ARG_NAME |
Constructor and Description |
---|
GlobalVariableHandler() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription()
Get the description of the key (it will be printed into the help text)
|
java.lang.String |
getKeyName()
Get the key name for the handler
|
boolean |
processCommandLineKey(java.lang.String key,
PreprocessorContext context)
Process a command line key
|
private static final java.lang.String ARG_NAME
public java.lang.String getDescription()
CommandLineHandler
getDescription
in interface CommandLineHandler
public boolean processCommandLineKey(java.lang.String key, PreprocessorContext context)
CommandLineHandler
processCommandLineKey
in interface CommandLineHandler
key
- the command line key to be processed, must not be nullcontext
- the preprocessor context, must not be nullpublic java.lang.String getKeyName()
CommandLineHandler
getKeyName
in interface CommandLineHandler