org.ow2.jasmine.monitoring.mbeancmd.commands
Class Help

java.lang.Object
  extended by org.ow2.jasmine.monitoring.mbeancmd.commands.Help
All Implemented Interfaces:
Command

public class Help
extends java.lang.Object
implements Command

Command that displays application help.


Field Summary
private  java.lang.String[] arguments
          Command arguments.
private  java.lang.String name
          Name of the command.
 
Constructor Summary
Help()
           
 
Method Summary
 void exec()
          Implementation of inherited method.
 java.lang.String getName()
          Implementation of inherited method.
 void help()
          Implementation of inherited method.
 void setArgs(java.lang.String cmd, java.lang.String[] args)
          Implementation of inherited method.
 java.lang.String summary()
          Implementation of inherited method.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

private java.lang.String name
Name of the command.


arguments

private java.lang.String[] arguments
Command arguments.

Constructor Detail

Help

public Help()
Method Detail

setArgs

public void setArgs(java.lang.String cmd,
                    java.lang.String[] args)
Implementation of inherited method.

Specified by:
setArgs in interface Command
Parameters:
cmd - Command name.
args - Command arguments.
See Also:
Command.setArgs(java.lang.String, java.lang.String[])

exec

public void exec()
Implementation of inherited method.

Specified by:
exec in interface Command
See Also:
Command.exec()

summary

public java.lang.String summary()
Implementation of inherited method.

Specified by:
summary in interface Command
Returns:
Command's summary.
See Also:
Command.summary()

help

public void help()
Implementation of inherited method.

Specified by:
help in interface Command
See Also:
Command.help()

getName

public java.lang.String getName()
Implementation of inherited method.

Specified by:
getName in interface Command
Returns:
Name of the command.
See Also:
Command.getName()