|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tools.ant.Project org.apache.commons.jelly.tags.ant.GrantProject
A subclass of an ant Project
which allows
installation of delegators for particular functions.
Current delegation points include:
Field Summary |
Fields inherited from class org.apache.tools.ant.Project |
JAVA_1_0, JAVA_1_1, JAVA_1_2, JAVA_1_3, JAVA_1_4, MSG_DEBUG, MSG_ERR, MSG_INFO, MSG_VERBOSE, MSG_WARN, TOKEN_END, TOKEN_START |
Constructor Summary | |
GrantProject()
Construct a new, empty GrantProject .
|
Method Summary | |
void |
copyInheritedProperties(org.apache.tools.ant.Project other)
|
void |
copyUserProperties(org.apache.tools.ant.Project other)
|
java.util.Hashtable |
getProperties()
|
java.lang.String |
getProperty(java.lang.String key)
|
PropsHandler |
getPropsHandler()
Retrieve the currently installed PropsHandler . |
java.util.Hashtable |
getUserProperties()
|
java.lang.String |
getUserProperty(java.lang.String key)
|
java.lang.String |
replaceProperties(java.lang.String value)
|
void |
setBaseDir(java.io.File baseDir)
|
void |
setInheritedProperty(java.lang.String key,
java.lang.String value)
|
void |
setJavaVersionProperty()
|
void |
setNewProperty(java.lang.String key,
java.lang.String value)
|
void |
setProperty(java.lang.String key,
java.lang.String value)
|
void |
setPropsHandler(PropsHandler propsHandler)
Install a PropsHandler delegate. |
void |
setSystemProperties()
|
void |
setUserProperty(java.lang.String key,
java.lang.String value)
|
Methods inherited from class org.apache.tools.ant.Project |
addBuildListener, addDataTypeDefinition, addFilter, addOrReplaceTarget, addOrReplaceTarget, addReference, addTarget, addTarget, addTaskDefinition, checkTaskClass, copyFile, copyFile, copyFile, copyFile, copyFile, copyFile, copyFile, copyFile, createClassLoader, createDataType, createTask, defaultInput, demuxFlush, demuxInput, demuxOutput, executeSortedTargets, executeTarget, executeTargets, fireBuildFinished, fireBuildStarted, fireMessageLogged, fireMessageLogged, fireMessageLogged, fireSubBuildFinished, fireSubBuildStarted, fireTargetFinished, fireTargetStarted, fireTaskFinished, fireTaskStarted, getBaseDir, getBuildListeners, getCoreLoader, getDataTypeDefinitions, getDefaultInputStream, getDefaultTarget, getDescription, getElementName, getExecutor, getFilters, getGlobalFilterSet, getInputHandler, getJavaVersion, getName, getReference, getReferences, getTargets, getTaskDefinitions, getThreadTask, init, initSubProject, isKeepGoingMode, log, log, log, log, registerThreadTask, removeBuildListener, resolveFile, resolveFile, setBasedir, setCoreLoader, setDefault, setDefaultInputStream, setDefaultTarget, setDescription, setExecutor, setFileLastModified, setInputHandler, setKeepGoingMode, setName, setProjectReference, toBoolean, topoSort, topoSort, topoSort, translatePath |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GrantProject()
GrantProject
.
Immediately after initialization, a GrantProject
delegates all calls to the normal ant Project
super class. Only after installing delegators will custom
behavious be acheived.
Method Detail |
public void setPropsHandler(PropsHandler propsHandler)
PropsHandler
delegate.
propsHandler
- The PropsHandler
to install,
or null
to remove any currently installed
PropsHandler
.public PropsHandler getPropsHandler()
PropsHandler
.
PropsHandler
,
or null
if no PropsHandler
had yet to be installed.public java.lang.String replaceProperties(java.lang.String value) throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
public void setProperty(java.lang.String key, java.lang.String value)
public void setUserProperty(java.lang.String key, java.lang.String value)
public void setNewProperty(java.lang.String key, java.lang.String value)
public void setInheritedProperty(java.lang.String key, java.lang.String value)
public java.lang.String getProperty(java.lang.String key)
public java.lang.String getUserProperty(java.lang.String key)
public java.util.Hashtable getUserProperties()
public java.util.Hashtable getProperties()
public void copyUserProperties(org.apache.tools.ant.Project other)
public void copyInheritedProperties(org.apache.tools.ant.Project other)
public void setSystemProperties()
public void setJavaVersionProperty() throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
public void setBaseDir(java.io.File baseDir) throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |