|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.martiansoftware.jsap.ant.ParameterConfiguration
com.martiansoftware.jsap.ant.OptionConfiguration
com.martiansoftware.jsap.ant.UnflaggedOptionConfiguration
Stores/provides configuration data for unflaggedoptions nested inside a jsap ant task. For detailed information on using the jsap task, see the documentation for JSAPAntTask.
JSAPAntTask,
UnflaggedOption| Constructor Summary | |
UnflaggedOptionConfiguration()
Creates a new UnflaggedOptionConfiguration. |
|
| Method Summary | |
void |
createMethod(String methodName,
PrintStream out)
Creates java source code for a method that instantiates an UnflaggedOption and configures it according to this configuration. |
boolean |
getGreedy()
Returns a boolean indicating whether this UnflaggedOption is greedy. |
Parameter |
getParameter()
Returns an UnflaggedOption configured according to this configuration. |
void |
setGreedy(boolean greedy)
Sets whether this UnflaggedOption should be greedy. |
| Methods inherited from class com.martiansoftware.jsap.ant.OptionConfiguration |
addConfiguredProperty, declaredListSeparator, getIslist, getListseparator, getParserProperties, getRequired, getStringparser, hasProperties, setIslist, setListseparator, setRequired, setStringparser |
| Methods inherited from class com.martiansoftware.jsap.ant.ParameterConfiguration |
addConfiguredDefault, getDefaults, getId, setDefault, setId |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public UnflaggedOptionConfiguration()
| Method Detail |
public void setGreedy(boolean greedy)
greedy - if true, this UnflaggedOption should be greedy.public boolean getGreedy()
public Parameter getParameter()
getParameter in class ParameterConfiguration
public void createMethod(String methodName,
PrintStream out)
createMethod in class ParameterConfigurationmethodName - the name of the method to generateout - the PrintStream to which the java source code will be written.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||