|
||||||||||
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.SetRuntimeOption
public class SetRuntimeOption
The option used to mark all data sent by this sensor as a batch of data. A batch of data is marked by having the same runtime.
Field Summary | |
---|---|
static java.lang.String |
OPTION_NAME
This option's name, which is "-setRuntime". |
Constructor Summary | |
---|---|
SetRuntimeOption(XmlDataController controller,
java.util.List<java.lang.String> parameters)
Creates this option with the specified controller and parameters. |
Method Summary | |
---|---|
boolean |
isValid()
Returns true if the list of parameters contains only no elements. |
void |
process()
Processes this option by setting the runtime 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 SetRuntimeOption(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 |