public class ConfigString extends ConfigVariable
spec| Constructor and Description |
|---|
ConfigString(OptionSpec option) |
ConfigString(OptionSpec option,
String value) |
| Modifier and Type | Method and Description |
|---|---|
void |
addToCommandline(org.apache.tools.ant.types.Commandline cmdline)
Adds arguments to the end of
cmdline corresponding to the state of this variable. |
boolean |
isSet()
Predicate specifying whether this ConfigVariable has been set.
|
void |
set(String value)
Set the value of this
ConfigVariable |
String |
value() |
getSpec, matchespublic ConfigString(OptionSpec option)
public ConfigString(OptionSpec option, String value)
public void set(String value)
ConfigVariableConfigVariableset in class ConfigVariablevalue - the value (as a String) that this ConfigVariable should be set to.public boolean isSet()
ConfigVariableset.isSet in class ConfigVariableConfigVariable has been set, false otherwise.public String value()
public void addToCommandline(org.apache.tools.ant.types.Commandline cmdline)
BaseConfigVariablecmdline corresponding to the state of this variable.addToCommandline in interface IOptionSourceaddToCommandline in class BaseConfigVariablecmdline - The Commandline object to which arguments correspond to this option should be addedCopyright © 2016 The Apache Software Foundation. All rights reserved.