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 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(String name)`
  Set the name.
  `void`
  `setPrefix(String prefix)`
  Set the prefix to use.
  `void`
  `setRegex(String regex)`
  Set the regular expression to use to filter the properties.
  `String`
  `toString()`
  A debug toString().

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### PropertyRef

    public PropertyRef()

- ## Method Details

  - ### setName

    public void setName(String name)
    Set the name.
    Parameters:
      `name` - a `String` value.

  - ### setRegex

    public void setRegex(String regex)
    Set the regular expression to use to filter the properties.
    Parameters:
      `regex` - a regular expression.

  - ### setPrefix

    public void setPrefix(String prefix)
    Set the prefix to use.
    Parameters:
      `prefix` - a `String` value.

  - ### setBuiltin

    public void setBuiltin(PropertySet.BuiltinPropertySetName b)
    Builtin property names - all, system or commandline.
    Parameters:
      `b` - an enumerated `BuildinPropertySetName` value.

  - ### toString

    public String toString()
    A debug toString().
    Overrides:
      `toString` in class `Object`
    Returns:
      a string version of this object.