Package org.apache.tools.ant.types
Class PropertySet.PropertyRef
java.lang.Object
org.apache.tools.ant.types.PropertySet.PropertyRef
- Enclosing class:
- PropertySet
public static class PropertySet.PropertyRef
extends java.lang.Object
This is a nested class containing a reference to some properties
and optionally a source of properties.
-
Constructor Summary
Constructors Constructor Description PropertyRef()
-
Method Summary
Modifier and Type Method Description void
setBuiltin(PropertySet.BuiltinPropertySetName b)
Builtin property names - all, system or commandline.void
setName(java.lang.String name)
Set the name.void
setPrefix(java.lang.String prefix)
Set the prefix to use.void
setRegex(java.lang.String regex)
Set the regular expression to use to filter the properties.java.lang.String
toString()
A debug toString().
-
Constructor Details
-
PropertyRef
public PropertyRef()
-
-
Method Details
-
setName
public void setName(java.lang.String name)Set the name.- Parameters:
name
- aString
value.
-
setRegex
public void setRegex(java.lang.String regex)Set the regular expression to use to filter the properties.- Parameters:
regex
- a regular expression.
-
setPrefix
public void setPrefix(java.lang.String prefix)Set the prefix to use.- Parameters:
prefix
- aString
value.
-
setBuiltin
Builtin property names - all, system or commandline.- Parameters:
b
- an enumeratedBuildinPropertySetName
value.
-
toString
public java.lang.String toString()A debug toString().- Overrides:
toString
in classjava.lang.Object
- Returns:
- a string version of this object.
-