gov.llnl.babel.cli
Interface CommandLineDictionary
- SwitchDictionary
public interface CommandLineDictionary
This interface is used to add
CommandLineSwitch
objects to the dictionary of all command line switches. Each command
line switch must be added during Babel's startup.
addCommandLineSwitch
public void addCommandLineSwitch(CommandLineSwitch cls)
throws NameCollisionException
Add a command line switch to the dictionary of available
command line switches. Babel requires that each command
line switch have a unique long name. Given that short
names are limited, it allocates abbreviated forms on a
first come first served basis.
cls
- a non-null command line switch to add to the dictionary.