Class Starter
- java.lang.Object
- 
- org.opennms.features.jmxconfiggenerator.commands.Command
- 
- org.opennms.features.jmxconfiggenerator.Starter
 
 
- 
 public class Starter extends Command - Author:
- Simon Walter , Markus Neumann 
 
- 
- 
Constructor SummaryConstructors Constructor Description Starter()
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidexecute()Each subclass should implement an execute methode to implement its behaviour.protected StringgetDescription()Returns the description (used for the usage) of the command.protected static voidhandleException(Exception ex, ConsoleLogAdapter logAdapter)static voidmain(String[] args)voidprintUsage()Prints the usage of the command.protected voidvalidate(org.kohsuke.args4j.CmdLineParser parser)
 
- 
- 
- 
Method Detail- 
mainpublic static void main(String[] args) 
 - 
handleExceptionprotected static void handleException(Exception ex, ConsoleLogAdapter logAdapter) 
 - 
executeprotected void execute() throws CmdRunException, org.kohsuke.args4j.CmdLineExceptionDescription copied from class:CommandEach subclass should implement an execute methode to implement its behaviour.- Specified by:
- executein class- Command
- Throws:
- org.kohsuke.args4j.CmdLineException
- CmdRunException
 
 - 
validateprotected void validate(org.kohsuke.args4j.CmdLineParser parser) throws org.kohsuke.args4j.CmdLineException
 - 
getDescriptionprotected String getDescription() Description copied from class:CommandReturns the description (used for the usage) of the command.- Specified by:
- getDescriptionin class- Command
- Returns:
- the command's description (used for the usage).
 
 - 
printUsagepublic void printUsage() Description copied from class:CommandPrints the usage of the command.- Overrides:
- printUsagein class- Command
 
 
- 
 
-