gov.llnl.babel.cli
Interface CommandLineExtension
- UserOptions
public interface CommandLineExtension
Babel extensions wishing to add command line switches implement this
interface. Babel checks each extension class to see if it implements
this interface. If an extension does, it calls
registerCommandLineSwitches(CommandLineDictionary)
with the current dictionary.
registerCommandLineSwitches
public void registerCommandLineSwitches(CommandLineDictionary dict)
throws NameCollisionException
This method should register all command line switches in the
dictionary. Babel will call this method exactly once on
all extensions it loads.
dict
- the command line switch dictionary in which you register
your command line extensions.