gov.llnl.babel.cli
public interface CommandLineDictionary
CommandLineSwitch
objects to the dictionary of all command line switches. Each command
line switch must be added during Babel's startup.Modifier and Type | Method and Description |
---|---|
void |
addCommandLineSwitch(CommandLineSwitch cls)
Add a command line switch to the dictionary of available
command line switches.
|
void addCommandLineSwitch(CommandLineSwitch cls) throws NameCollisionException
cls
- a non-null command line switch to add to the dictionary.NameCollisionException
- this indicates
that cls
has the same long name as a
CommandLineSwitch
already in the dictionary.
This exception is never generated due to collisions in the
short form.