org.ow2.jasmine.monitoring.mbeancmd
Interface Command

All Known Implementing Classes:
AbstractCommand, Dump, Help, Mbean, MLoad, Poll, Replay, Stat

public interface Command

An MBeanCmd command.


Method Summary
 void exec()
          Executes the command.
 java.lang.String getName()
          Retrieves the name of the command.
 void help()
          Displays the help for this command.
 void setArgs(java.lang.String cmd, java.lang.String[] args)
          Sets command name and arguments.
 java.lang.String summary()
          Retrieves the command's summary.
 

Method Detail

setArgs

void setArgs(java.lang.String cmd,
             java.lang.String[] args)
Sets command name and arguments.

Parameters:
cmd - Command name.
args - Command arguments.

exec

void exec()
Executes the command.


help

void help()
Displays the help for this command.


getName

java.lang.String getName()
Retrieves the name of the command.

Returns:
Name of the command.

summary

java.lang.String summary()
Retrieves the command's summary.

Returns:
Command's summary.