|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hackystat.sensor.xmldata.option.AbstractOption
org.hackystat.sensor.xmldata.option.MultiShellOption
public class MultiShellOption
The -multishell option is deprecated and scheduled for removal. The XmlSensor will use whatever setting is present in the SensorShellProperties file. The options that is used to notify the data sending Options that a MultiSensorShell instance should be used instead of a single-threaded SensorShell.
Field Summary | |
---|---|
static java.lang.String |
OPTION_NAME
This option's name, which is "-multishell". |
Constructor Summary | |
---|---|
MultiShellOption(XmlDataController controller,
java.util.List<java.lang.String> parameters)
Static factory method that creates an option with the specified controller and parameters. |
Method Summary | |
---|---|
boolean |
isValid()
Returns true if the list of parameters contains no parameters. |
void |
process()
Processes this option by setting the multi-shell option to true. |
Methods inherited from class org.hackystat.sensor.xmldata.option.AbstractOption |
---|
execute, getController, getName, getParameters |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String OPTION_NAME
Constructor Detail |
---|
public MultiShellOption(XmlDataController controller, java.util.List<java.lang.String> parameters)
controller
- the specified controller.parameters
- the specified parameters.Method Detail |
---|
public void process()
process
in interface Option
process
in class AbstractOption
public boolean isValid()
isValid
in interface Option
isValid
in class AbstractOption
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |