|$command_handler = new JMX::Jmx4Perl::Shell::CommandHandler($context,$ui)||Create a new command handler object. The arguments to be passed are the context object ($context) and the shell object ($shell) in order to update the shells current command set.|
|$comand_handler->push_on_stack($context,$cmds)||Update the stack with an entry of name $context which provides the commands $cmds. $cmds must be a hashref as known to Term::ShellUI, whose commands method is used to update the shell. Additionally it updates the shells prompt to reflect the state of the stack.|
|$command_handler->reset_stack||Reset the stack and install the top and global commands as collected from the registered OSGi::Osgish::Command.|
|$command = $command_handler->command($command_name)||Get a registered command by name|
This file is part of jmx4perl.
Jmx4perl is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.
jmx4perl is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with jmx4perl. If not, see <http://www.gnu.org/licenses/>.
A commercial license is available as well. Please contact firstname.lastname@example.org for further details.
Just in case you need professional support for this module (or Nagios or JMX in general), you might want to have a look at http://www.consol.com/opensource/nagios/. Contact email@example.com for further information (or use the contact form at http://www.consol.com/contact/)
|perl v5.20.3||JMX::JMX4PERL::J4PSH::COMMANDHANDLER (3)||2016-04-03|