org.apache.tools.ant.taskdefs
Class Property
java.lang.Object
|
+--org.apache.tools.ant.Task
|
+--org.apache.tools.ant.taskdefs.Property
- public class Property
- extends Task
Will set a Project property. Used to be a hack in ProjectHelper
Will not override values set by the command line or parent projects.
- Author:
- costin@dnt.ro, Sam Ruby
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Property
public Property()
setName
public void setName(java.lang.String name)
getName
public java.lang.String getName()
setValue
public void setValue(java.lang.String value)
getValue
public java.lang.String getValue()
setFile
public void setFile(java.lang.String file)
setResource
public void setResource(java.lang.String resource)
init
public void init()
throws BuildException
- Overrides:
- init in class Task
setUserProperty
public void setUserProperty(boolean userP)
Copyright © 2000 Apache Software Foundation. All Rights Reserved.