Class GraphCreateCommand
- java.lang.Object
-
- org.opennms.features.jmxconfiggenerator.commands.Command
-
- org.opennms.features.jmxconfiggenerator.commands.GraphCreateCommand
-
public class GraphCreateCommand extends Command
Implements the "create-graph" command functionality.
-
-
Constructor Summary
Constructors Constructor Description GraphCreateCommand()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
execute()
Each subclass should implement an execute methode to implement its behaviour.protected String
getDescription()
Returns the description (used for the usage) of the command.protected void
validate(org.kohsuke.args4j.CmdLineParser parser)
-
Methods inherited from class org.opennms.features.jmxconfiggenerator.commands.Command
getParser, isHelp, printUsage, run
-
-
-
-
Method Detail
-
execute
protected void execute() throws CmdRunException, org.kohsuke.args4j.CmdLineException
Description copied from class:Command
Each subclass should implement an execute methode to implement its behaviour.- Specified by:
execute
in classCommand
- Throws:
org.kohsuke.args4j.CmdLineException
CmdRunException
-
getDescription
protected String getDescription()
Description copied from class:Command
Returns the description (used for the usage) of the command.- Specified by:
getDescription
in classCommand
- Returns:
- the command's description (used for the usage).
-
-