jiaqi / jmxterm

Interactive command line JMX client
http://docs.cyclopsgroup.org/jmxterm
Apache License 2.0
519 stars 155 forks source link

Add an option in the Help to view detailed operations information #29

Closed wattazoum closed 8 years ago

wattazoum commented 8 years ago

Sometimes, we would like to have more information on the parameters of an operation. This patch will provide you with that functionality.

before

$>info -e 
#mbean = com.strator.iris.middleoffice:name=EWalletMBean,type=EWalletMBean
#class name = com.strator.iris.server.middleoffice.mbeans.EWalletMBean
#there is no attribute
# operations
  %0   - void authentificationTerminal(java.lang.Integer groupeId,java.lang.Integer numeroCaisse), Authentification eWallet d'un terminal pour un groupeid et un numéro de caisse
#there's no notifications

After

$>info -o authentificationTerminal
#mbean = com.strator.iris.middleoffice:name=EWalletMBean,type=EWalletMBean
#class name = com.strator.iris.server.middleoffice.mbeans.EWalletMBean
#operation = authentificationTerminal
# operations
  %0   - void authentificationTerminal(java.lang.Integer groupeId,java.lang.Integer numeroCaisse), Authentification eWallet d'un terminal pour un groupeid et un numéro de caisse
             parameters:
                 + groupeId             : Le groupeid
                 + numeroCaisse         : Le numero de la caisse

Note :

The configuration for a build in travis-ci.com is also included