|
||||||||||
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.SdtOption
public class SdtOption
The option that wraps the sensor data type information specified by the user.
Field Summary | |
---|---|
static java.lang.String |
OPTION_NAME
This option's name, which is "-sdt". |
Constructor Summary | |
---|---|
SdtOption(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 one element. |
void |
process()
Processes this option by setting the sdt name found in this option. |
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 SdtOption(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 |