|
||||||||||
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.ArgListOption
public class ArgListOption
The option used when specifying the command-line arguments via a text file.
Field Summary | |
---|---|
static java.lang.String |
OPTION_NAME
The name of this option, which is "-argList". |
Constructor Summary | |
---|---|
ArgListOption(XmlDataController controller,
java.util.List<java.lang.String> parameters)
Creates this option with the specified controller and parameters. |
Method Summary | |
---|---|
void |
execute()
Executes this option using the specified argument list file. |
boolean |
isValid()
Returns true if the specified parameters contains only one element, which is a valid text file containing the list of command-line arguments. |
Methods inherited from class org.hackystat.sensor.xmldata.option.AbstractOption |
---|
getController, getName, getParameters, process |
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 ArgListOption(XmlDataController controller, java.util.List<java.lang.String> parameters)
controller
- the specified controller.parameters
- the specified parameters.Method Detail |
---|
public boolean isValid()
isValid
in interface Option
isValid
in class AbstractOption
public void execute()
execute
in interface Option
execute
in class AbstractOption
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |