gov.llnl.babel

Class UserOptions.ExcludeExternalSwitch

Enclosing Class:
UserOptions
Implemented Interfaces:
CommandLineSwitch

public class UserOptions.ExcludeExternalSwitch
extends gov.llnl.babel.UserOptions.BasicSwitch

Constructor Summary

ExcludeExternalSwitch()

Method Summary

boolean
isHidden()
Return true if this command line option should be hidden when the help text is generated.
void
processCommandSwitch(String optarg)
This method is called when the Babel end user specifies this command line switch on the command line.

Methods inherited from class gov.llnl.babel.UserOptions.BasicSwitch

getArgumentName, getHelpText, getLongName, getShortForm, hasOptionalArgument, hasRequiredArgument, isHidden, setShortForm

Constructor Details

ExcludeExternalSwitch

public ExcludeExternalSwitch()

Method Details

isHidden

public final boolean isHidden()
Return true if this command line option should be hidden when the help text is generated.
Specified by:
isHidden in interface CommandLineSwitch
Overrides:
isHidden in interface gov.llnl.babel.UserOptions.BasicSwitch
Returns:
true means that this options requests to not be printed with the help text.

processCommandSwitch

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() 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.