|
|||||||||
| 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.Lewys
public abstract class Lewys
Manipulate LeWYS probes
| Field Summary | |
|---|---|
protected List |
arg_probe_config
List of Attributes (-a option) |
protected org.apache.commons.cli.CommandLine |
commandLine
Command line arguments. |
protected Object |
domainName
Domain name to be printed in results |
protected String |
graphDef
Graph definitions, null for no graph output. |
protected String |
header
Header to use. |
protected String |
jasmineURI
URI of the JASMINe event switch, null for no JASMINe output. |
protected static int |
LINUX_2_4
|
protected static int |
LINUX_2_6
|
protected static int |
MAC_OS_X
|
protected org.apache.commons.cli.Options |
options
List of options that should be parsed from the command line. |
protected int |
osType
Supported OS |
protected String |
outputFilePath
Output file path, null for no file output. |
protected long |
period
Poll period in seconds. |
protected PrintStream |
pout
Output stream. |
protected org.objectweb.lewys.probe.Probe |
probe
Lewys Probe |
protected String |
separator
Separator to use. |
protected Object |
serverName
Server name to be printed in results |
protected static int |
WINDOWS
|
| Fields inherited from class org.ow2.jasmine.monitoring.mbeancmd.AbstractCommand |
|---|
arguments, logger, name, SIMPLEDATEFORMAT |
| Constructor Summary | |
|---|---|
Lewys()
Constructor |
|
| Method Summary | |
|---|---|
protected abstract void |
configProbe()
|
int |
exec(CommandDispatcher cmdDispatcher)
Executes the command. |
protected abstract void |
lewysPoll()
|
protected void |
parseCommandLine(String[] args)
Parses the command line arguments into Stat.commandLine. |
protected void |
setOptions()
Sets all options that are parseable from the command line. |
String |
summary()
|
| Methods inherited from class org.ow2.jasmine.monitoring.mbeancmd.AbstractCommand |
|---|
getHelpDoc, getName, help, setArgs, stop |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int osType
protected static final int LINUX_2_4
protected static final int LINUX_2_6
protected static final int WINDOWS
protected static final int MAC_OS_X
protected org.apache.commons.cli.Options options
protected org.apache.commons.cli.CommandLine commandLine
protected List arg_probe_config
protected long period
protected String graphDef
protected String outputFilePath
protected String jasmineURI
protected String separator
protected Object serverName
protected Object domainName
protected org.objectweb.lewys.probe.Probe probe
protected PrintStream pout
protected String header
| Constructor Detail |
|---|
public Lewys()
| Method Detail |
|---|
public int exec(CommandDispatcher cmdDispatcher)
exec in interface Commandexec in class AbstractCommandpublic String summary()
summary in interface Commandsummary in class AbstractCommandprotected abstract void configProbe()
protected abstract void lewysPoll()
protected void parseCommandLine(String[] args)
throws org.apache.commons.cli.ParseException,
MalformedObjectNameException
Stat.commandLine.
args - Arguments to parse.
org.apache.commons.cli.ParseException - If parsing fails.
MalformedObjectNameException - Object name given in the command
line is invalid.protected void setOptions()
Poll.options
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||