|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jasmine.monitoring.mbeancmd.AbstractCommand
org.ow2.jasmine.monitoring.mbeancmd.commands.Poll
public class Poll
Polls multiple J2EE servers at the given period.
| Field Summary |
|---|
| Fields inherited from class org.ow2.jasmine.monitoring.mbeancmd.AbstractCommand |
|---|
arguments, logger, name, SIMPLEDATEFORMAT |
| Constructor Summary | |
|---|---|
Poll()
Constructor: calls setOptions(). |
|
| Method Summary | |
|---|---|
int |
exec(CommandDispatcher cmdDispatcher)
Implementation of inherited abstract method. |
void |
help()
Calls AbstractCommand.help() followed by printDtd(). |
static void |
main(java.lang.String[] args)
Tests the Poll implementation. |
void |
parseCommandLine(java.lang.String[] args)
Parses the command line arguments into commandLine. |
java.lang.String |
summary()
Implementation of inherited abstract method. |
| Methods inherited from class org.ow2.jasmine.monitoring.mbeancmd.AbstractCommand |
|---|
getHelpDoc, getName, setArgs |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Poll()
setOptions().
| Method Detail |
|---|
public int exec(CommandDispatcher cmdDispatcher)
exec in interface Commandexec in class AbstractCommandAbstractCommand#exec()public void help()
AbstractCommand.help() followed by printDtd().
help in interface Commandhelp in class AbstractCommandCommand.help(),
AbstractCommand.getHelpDoc()public java.lang.String summary()
summary in interface Commandsummary in class AbstractCommandAbstractCommand.summary()public static void main(java.lang.String[] args)
args - Arguments to pass to Poll#setArgs.
public void parseCommandLine(java.lang.String[] args)
throws org.apache.commons.cli.ParseException
commandLine.
args - Arguments to parse.
org.apache.commons.cli.ParseException - If parsing fails.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||