|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectprantl.ant.eclipse.VariableElement
public class VariableElement
Configures name and value of a variable in a preferences file under the directory .settings. Both attributes name and value are mandatory.
| Constructor Summary | |
|---|---|
VariableElement(PreferencesElement parent)
Creates a new instance of the variable element. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VariableElement(PreferencesElement parent)
parent - The parent preferences element of this variable one.| Method Detail |
|---|
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()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||