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
- Author:
- costin@dnt.ro
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
- Description copied from class: Task
- Called by the project to let the task initialize properly. Normally it does nothing.
- Overrides:
- init in class Task
- Tags copied from class: Task
- Throws:
- BuildException - if someting goes wrong with the build
setUserProperty
public void setUserProperty(boolean userP)
Copyright © 2000 Apache Software Foundation. All Rights Reserved.