Class JmxConfigCreateCommand


  • public class JmxConfigCreateCommand
    extends JmxCommand
    Command to create the jmx-configgenerator.xml file.
    • 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 void execute​(javax.management.MBeanServerConnection mbeanServerConnection)  
      protected java.lang.String getDescription()
      Returns the description (used for the usage) of the command.
      protected void validate​(org.kohsuke.args4j.CmdLineParser parser)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JmxConfigCreateCommand

        public JmxConfigCreateCommand()
    • Method Detail

      • validate

        protected void validate​(org.kohsuke.args4j.CmdLineParser parser)
                         throws org.kohsuke.args4j.CmdLineException
        Overrides:
        validate in class JmxCommand
        Throws:
        org.kohsuke.args4j.CmdLineException
      • execute

        protected void execute()
                        throws org.kohsuke.args4j.CmdLineException,
                               CmdRunException
        Description copied from class: Command
        Each subclass should implement an execute methode to implement its behaviour.
        Overrides:
        execute in class JmxCommand
        Throws:
        org.kohsuke.args4j.CmdLineException
        CmdRunException
      • getDescription

        protected java.lang.String getDescription()
        Description copied from class: Command
        Returns the description (used for the usage) of the command.
        Specified by:
        getDescription in class Command
        Returns:
        the command's description (used for the usage).