public class ClusterAccess extends CommandLineParser
CommandLineParser.Template, CommandLineParser.Test| Modifier and Type | Field and Description |
|---|---|
private static String |
FOOT
The footer message.
|
static String |
ONESWITCHES
The recognized switches with one argument.
|
static String |
TWOSWITCHES
The recognized switches with one argument.
|
private static Map |
USE
The usage map.
|
static String |
ZEROSWITCHES
The recognized switches with zero argument.
|
HELPSWITCHES| Constructor and Description |
|---|
ClusterAccess()
Constructs a new parameter cluster dump instance.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] arg)
Performs a look-up operation on the binding name stated on the command
line.
|
boolean |
process(String[] arg)
Processes the command line arguments.
|
addHelpSwitches, getArguments, getCallerName, getCommandLine, getCommands, getRegisteredSwitches, hasAnySwitch, hasHelpSwitch, hasSwitch, hasSwitch, haveAllSwitches, parse, printCommandLine, printCommandLine, registerLine, registerSwitches, setCommands, staticUsage, usagepublic static final String TWOSWITCHES
public static final String ONESWITCHES
public static final String ZEROSWITCHES
private static final Map USE
private static final String FOOT
public ClusterAccess()
public boolean process(String[] arg) throws ParseException
RmiParameterClustering instance (i.e. a single unmatched
command parameter). This name is resolved into a reference to the
parameter cluster to query. The both command-line switches understood
either dump the entire set of parameter names to System.out (switch
'-d') or query the value of a single parameter (switch '-q').ParseExceptionpublic static void main(String[] arg) throws ParseException
RmiParameterClustering instance either a single
value is queried or the names of all parameters hosted are
dumped to the command line.ParseException