|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for delegates supporting property management
for aGrantProject
.
GrantProject.setProperty(java.lang.String, java.lang.String)
,
GrantProject.setNewProperty(java.lang.String, java.lang.String)
,
GrantProject.setUserProperty(java.lang.String, java.lang.String)
,
GrantProject.setInheritedProperty(java.lang.String, java.lang.String)
,
GrantProject.getProperty(java.lang.String)
,
GrantProject.getUserProperty(java.lang.String)
,
GrantProject.getProperties()
,
GrantProject.getUserProperties()
,
GrantProject.copyUserProperties(org.apache.tools.ant.Project)
,
GrantProject.copyInheritedProperties(org.apache.tools.ant.Project)
,
GrantProject.setSystemProperties()
,
GrantProject.setJavaVersionProperty()
Method Summary | |
void |
copyInheritedProperties(org.apache.tools.ant.Project other)
Copy all of the inherited properties to the other Project . |
void |
copyUserProperties(org.apache.tools.ant.Project other)
Copy all of the user properties to the other Project . |
java.util.Hashtable |
getProperties()
Retrieve a Hashtable of all properties. |
java.lang.String |
getProperty(java.lang.String key)
Retrieve a property. |
java.util.Hashtable |
getUserProperties()
Retrieve a Hashtable of all user properties. |
java.lang.String |
getUserProperty(java.lang.String key)
Retrieve a user property. |
void |
setInheritedProperty(java.lang.String key,
java.lang.String value)
Sets an inherited property. |
void |
setJavaVersionProperty()
Set the ant.java.version property. |
void |
setNewProperty(java.lang.String key,
java.lang.String value)
Set a new property. |
void |
setProperty(java.lang.String key,
java.lang.String value)
Set a property. |
void |
setPropertyIfUndefinedByUser(java.lang.String key,
java.lang.String value)
Sets a property that is not a user property. |
void |
setSystemProperties()
Set the system variables for a Project that have
not already been assigned as user properties. |
void |
setUserProperty(java.lang.String key,
java.lang.String value)
Set a user property. |
Method Detail |
public void setProperty(java.lang.String key, java.lang.String value)
key
- The property key.value
- The value.public void setUserProperty(java.lang.String key, java.lang.String value)
key
- The user property key.value
- The value.public void setNewProperty(java.lang.String key, java.lang.String value)
key
- The property key.value
- The value.public void setInheritedProperty(java.lang.String key, java.lang.String value)
key
- The user property key.value
- The value.public void setPropertyIfUndefinedByUser(java.lang.String key, java.lang.String value)
setPropertyInternal
method.
key
- The property key.value
- The value.public java.lang.String getProperty(java.lang.String key)
key
- The property key.
public java.lang.String getUserProperty(java.lang.String key)
key
- The user property key.
public java.util.Hashtable getProperties()
Hashtable
of all properties.
Hashtable
of all properties.public java.util.Hashtable getUserProperties()
Hashtable
of all user properties.
Hashtable
of all user properties.public void copyUserProperties(org.apache.tools.ant.Project other)
Project
.
other
- The Project
to copy the properties to.public void copyInheritedProperties(org.apache.tools.ant.Project other)
Project
.
other
- The Project
to copy the properties to.public void setSystemProperties()
Project
that have
not already been assigned as user properties.
public void setJavaVersionProperty()
ant.java.version
property.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |