org.ow2.jasmine.monitoring.mbeancmd.commands
Class Lewys
java.lang.Object
org.ow2.jasmine.monitoring.mbeancmd.AbstractCommand
org.ow2.jasmine.monitoring.mbeancmd.commands.Lewys
- All Implemented Interfaces:
- org.ow2.jasmine.monitoring.mbeancmd.Command
public class Lewys
- extends org.ow2.jasmine.monitoring.mbeancmd.AbstractCommand
Manipulate LeWYS probes (for now, just this for network). Largely inspired from a Clif probe.
TODO: Support of all LeWYS probes.
- Author:
- Loris Bouzonnet
| Fields inherited from class org.ow2.jasmine.monitoring.mbeancmd.AbstractCommand |
arguments, logger, name, SIMPLEDATEFORMAT |
|
Constructor Summary |
Lewys()
|
|
Method Summary |
int |
exec(org.ow2.jasmine.monitoring.mbeancmd.CommandDispatcher cmdDispatcher)
|
static void |
main(java.lang.String[] args)
Tests the Stat implementation. |
void |
parseCommandLine(java.lang.String[] args)
Parses the command line arguments into Stat#commandLine. |
java.lang.String |
summary()
|
| Methods inherited from class org.ow2.jasmine.monitoring.mbeancmd.AbstractCommand |
getHelpDoc, getName, help, setArgs |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Lewys
public Lewys()
main
public static void main(java.lang.String[] args)
- Tests the Stat implementation.
- Parameters:
args - Arguments to pass to Stat#setArgs.
exec
public int exec(org.ow2.jasmine.monitoring.mbeancmd.CommandDispatcher cmdDispatcher)
- Specified by:
exec in interface org.ow2.jasmine.monitoring.mbeancmd.Command- Specified by:
exec in class org.ow2.jasmine.monitoring.mbeancmd.AbstractCommand
summary
public java.lang.String summary()
- Specified by:
summary in interface org.ow2.jasmine.monitoring.mbeancmd.Command- Specified by:
summary in class org.ow2.jasmine.monitoring.mbeancmd.AbstractCommand
parseCommandLine
public void parseCommandLine(java.lang.String[] args)
throws org.apache.commons.cli.ParseException,
javax.management.MalformedObjectNameException
- Parses the command line arguments into
Stat#commandLine.
- Parameters:
args - Arguments to parse.
- Throws:
org.apache.commons.cli.ParseException - If parsing fails.
javax.management.MalformedObjectNameException - Object name given in the command
line is invalid.
Copyright © 2009 OW2 Consortium. All Rights Reserved.