|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.tools.ant.taskdefs.Property
org.ow2.jonas.ant.JProperty
public class 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 |
|---|
target, taskName, taskType, wrapper |
| Fields inherited from class org.apache.tools.ant.ProjectComponent |
|---|
description, location, project |
| Constructor Summary | |
|---|---|
JProperty()
|
|
| Method Summary | |
|---|---|
void |
execute()
Execute the task. |
void |
setDefaultValue(String defaultValue)
The default value if the property cannot be found. |
void |
setValue(Object value)
The value of the property to set. |
void |
setValue(String value)
The value of the property to set. |
| Methods inherited from class org.apache.tools.ant.taskdefs.Property |
|---|
addProperties, addProperty, addProperty, addText, createClasspath, getClasspath, getEnvironment, getFile, getName, getPrefix, getRefid, getResource, getUrl, getValue, loadEnvironment, loadFile, loadResource, loadUrl, setBasedir, setClasspath, setClasspathRef, setEnvironment, setFile, setLocation, setName, setPrefix, setRefid, setRelative, setResource, setUrl, setUserProperty, toString |
| Methods inherited from class org.apache.tools.ant.Task |
|---|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| Methods inherited from class org.apache.tools.ant.ProjectComponent |
|---|
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JProperty()
| Method Detail |
|---|
public void setValue(String value)
setValue in class org.apache.tools.ant.taskdefs.Propertyvalue - value to setpublic void setValue(Object value)
setValue in class org.apache.tools.ant.taskdefs.Propertyvalue - value to setpublic void setDefaultValue(String defaultValue)
defaultValue - value to set
public void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.taskdefs.Propertyorg.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 | |||||||||