public class VariableElement extends java.lang.Object
Constructor and Description |
---|
VariableElement(PreferencesElement parent)
Creates a new instance of the variable element.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Returns the name of the configuration variable.
|
java.lang.String |
getValue()
Returns the value of the configuration variable.
|
void |
setName(java.lang.String name)
Sets the name of the configuration variable.
|
void |
setValue(java.lang.String value)
Sets the value of the configuration variable.
|
void |
validate()
Performs the validation of the element at the time when the whole build file was
parsed checking the content of the element and possibly adding mandatory variables
with default settings.
|
public VariableElement(PreferencesElement parent)
parent
- The parent preferences element of this variable one.public java.lang.String getName()
public java.lang.String getValue()
public void setName(java.lang.String name)
name
- A name of the configuration variable.public void setValue(java.lang.String value)
value
- A value of the configuration variable.public void validate()