com.izforge.izpack.ant
Class Property

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.apache.tools.ant.taskdefs.Property
              extended by com.izforge.izpack.ant.Property
All Implemented Interfaces:
java.lang.Cloneable

public class Property
extends org.apache.tools.ant.taskdefs.Property

A subclass of Ant Property to validate values, but not add to the ant project's properties.

Author:
Chad McHenry

Field Summary
protected  java.util.Properties props
          Store the property[s] of this Property tag.
 
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
Property()
          Creates new IZPackTask
 
Method Summary
protected  void addProperty(java.lang.String n, java.lang.String v)
          Overridden to store properties locally, not in the Ant Project.
 java.util.Properties getProperties()
           
 
Methods inherited from class org.apache.tools.ant.taskdefs.Property
addProperties, createClasspath, execute, getClasspath, getEnvironment, getFile, getName, getPrefix, getRefid, getResource, getUrl, getValue, loadEnvironment, loadFile, loadResource, loadUrl, setClasspath, setClasspathRef, setEnvironment, setFile, setLocation, setName, setPrefix, setRefid, setResource, setUrl, setUserProperty, setValue, 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
 

Field Detail

props

protected java.util.Properties props
Store the property[s] of this Property tag.

Constructor Detail

Property

public Property()
Creates new IZPackTask

Method Detail

getProperties

public java.util.Properties getProperties()

addProperty

protected void addProperty(java.lang.String n,
                           java.lang.String v)
Overridden to store properties locally, not in the Ant Project.

Overrides:
addProperty in class org.apache.tools.ant.taskdefs.Property
Parameters:
n - name of property
v - value to set