|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectprantl.ant.eclipse.PreferencesElement
public abstract class PreferencesElement
Configures a component preferences in a file under the directory .settings using variable elements. The version element is mandatory and will be generated automatically if not provided. The attributes name of all elements describing the preferences must be distinct.
Method Summary | |
---|---|
java.lang.String |
getName()
Returns the name of the file with preferences. |
java.util.Vector |
getVariables()
Returns a list with instances of the class VariableElement defining variables for a file <full qualified class name> under the directory .settings. |
java.lang.String |
getVersion()
Returns the version of the preferences set by this element (1 is used as a default). |
void |
setVersion(java.lang.String value)
Sets the version of the Eclipse preferences. |
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 |
Method Detail |
---|
public java.lang.String getName()
public java.lang.String getVersion()
public void setVersion(java.lang.String value)
value
- A valid version of the Eclipse preferences.public java.util.Vector getVariables()
public void validate()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |