Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
gov.llnl.babel.UserOptions.BasicSwitch
gov.llnl.babel.UserOptions.RequiredArgSwitch
gov.llnl.babel.UserOptions.VpathSwitch
public class UserOptions.VpathSwitch
extends UserOptions.RequiredArgSwitch
Constructor Summary | |
Method Summary | |
void |
|
Methods inherited from class gov.llnl.babel.UserOptions.RequiredArgSwitch | |
getArgumentName , hasRequiredArgument |
Methods inherited from class gov.llnl.babel.UserOptions.BasicSwitch | |
getArgumentName , getHelpText , getLongName , getShortForm , hasOptionalArgument , hasRequiredArgument , isHidden , setShortForm |
public final void processCommandSwitch(String optarg)
This method is called when the Babel end user specifies this command line switch on the command line.
- Specified by:
- processCommandSwitch in interface CommandLineSwitch
- Parameters:
optarg
- this argument will be null if the command line switch doesn't take a required argument (i.e.,CommandLineSwitch.hasRequiredArgument()
isfalse
) or if the command line switch takes an optional argument (i.e.,CommandLineSwitch.hasOptionalArgument()
istrue
) and an argument wasn't provided; otherwise, the argument is a non-null string including the text from the command line.