Class QueryCommand


  • public class QueryCommand
    extends JmxCommand
    Implements the "query" command functionality.
    • Field Summary

      • Fields inherited from class org.opennms.features.jmxconfiggenerator.commands.Command

        LOG
    • Constructor Summary

      Constructors 
      Constructor Description
      QueryCommand()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void execute​(javax.management.MBeanServerConnection mbeanServerConnection)  
      protected java.lang.String getDescription()
      Returns the description (used for the usage) of the command.
      void printUsage()
      Prints the usage of the command.
      • Methods inherited from class java.lang.Object

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

      • QueryCommand

        public QueryCommand()
    • Method Detail

      • printUsage

        public void printUsage()
        Description copied from class: Command
        Prints the usage of the command.
        Overrides:
        printUsage in class Command
      • 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).