|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jasmine.monitoring.mbeancmd.AbstractCommand
public abstract class AbstractCommand
A Command which has some methods implemented.
| Field Summary | |
|---|---|
protected java.lang.String[] |
arguments
Command arguments. |
protected org.ow2.util.log.Log |
logger
Logger. |
protected java.lang.String |
name
Name of the command. |
static java.text.SimpleDateFormat |
SIMPLEDATEFORMAT
Date format. |
| Constructor Summary | |
|---|---|
AbstractCommand()
|
|
| Method Summary | |
|---|---|
abstract int |
exec(CommandDispatcher cmdDispatcher)
Abstract redefinition of inherited method. |
protected java.lang.String |
getHelpDoc()
Gets the help document corresponding to this command. |
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. |
abstract java.lang.String |
summary()
Abstract redefinition of inherited method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String name
protected java.lang.String[] arguments
public static final java.text.SimpleDateFormat SIMPLEDATEFORMAT
protected org.ow2.util.log.Log logger
| Constructor Detail |
|---|
public AbstractCommand()
| Method Detail |
|---|
public abstract int exec(CommandDispatcher cmdDispatcher)
exec in interface Commandorg.ow2.jasmine.monitoring.mbeancmd.Command#exec()public final java.lang.String getName()
getName in interface CommandCommand.getName()protected java.lang.String getHelpDoc()
public void help()
help in interface CommandCommand.help(),
getHelpDoc()
public final void setArgs(java.lang.String cmd,
java.lang.String[] args)
setArgs in interface Commandcmd - Command name.args - Command arguments.Command.setArgs(java.lang.String,
java.lang.String[])public abstract java.lang.String summary()
summary in interface CommandCommand.summary()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||