|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tools.ant.ProjectComponent org.apache.tools.ant.Task org.apache.tools.ant.taskdefs.Property org.objectweb.jonas.ant.JProperty
Allow to define property with the value of my.${name}.property
Field Summary |
Fields inherited from class org.apache.tools.ant.taskdefs.Property |
classpath, env, file, name, prefix, ref, resource, url, userProperty, value |
Fields inherited from class org.apache.tools.ant.Task |
description, location, target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
project |
Constructor Summary | |
JProperty()
|
Method Summary | |
void |
execute()
Execute the task. |
void |
setDefaultValue(java.lang.String defaultValue)
The default value if the property cannot be found |
void |
setValue(java.lang.String value)
The value of the property to set |
Methods inherited from class org.apache.tools.ant.taskdefs.Property |
addProperties, addProperty, createClasspath, getClasspath, getEnvironment, getFile, getName, getPrefix, getRefid, getResource, getUrl, getValue, loadEnvironment, loadFile, loadResource, loadUrl, setClasspath, setClasspathRef, setEnvironment, setFile, setLocation, setName, setPrefix, setRefid, setResource, setUrl, setUserProperty, toString |
Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject, setProject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public JProperty()
Method Detail |
public void setValue(java.lang.String value)
value
- value to setpublic void setDefaultValue(java.lang.String defaultValue)
defaultValue
- value to setpublic void execute() throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
- if value is not setTask.execute()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |