|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.llnl.babel.UserOptions.VersionSwitch
public class UserOptions.VersionSwitch
Constructor Summary | |
---|---|
UserOptions.VersionSwitch()
|
Method Summary | |
---|---|
void |
processCommandSwitch(java.lang.String optarg)
This method is called when the Babel end user specifies this command line switch on the command line. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UserOptions.VersionSwitch()
Method Detail |
---|
public final void processCommandSwitch(java.lang.String optarg) throws InvalidOptionException
CommandLineSwitch
optarg
- this argument will be null if the command line switch
doesn't take a required argument (i.e., CommandLineSwitch.hasRequiredArgument()
is false
) or if the command line switch takes an
optional argument (i.e., CommandLineSwitch.hasOptionalArgument()
is
true
) and an argument wasn't provided; otherwise, the
argument is a non-null string including the text from the command line.
InvalidOptionException
- this indicates
that the command line option itself is somehow wrong in the context of
preceeding switches. For example, two switches may be mutually
exclusive, so having both in a command line would cause the second
switch to throw this exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |