Package org.apache.ant.antunit
Class AntUnit.Reference
java.lang.Object
org.apache.tools.ant.types.Reference
org.apache.tools.ant.taskdefs.Ant.Reference
org.apache.ant.antunit.AntUnit.Reference
- Enclosing class:
AntUnit
public static class AntUnit.Reference
extends org.apache.tools.ant.taskdefs.Ant.Reference
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addMatchingReferences
(Hashtable src, Collection dest) Add todest
any reference IDs insrc
matching this reference descriptorgetRegex()
void
Set a regular expression to match references.Methods inherited from class org.apache.tools.ant.taskdefs.Ant.Reference
getToRefid, setToRefid
Methods inherited from class org.apache.tools.ant.types.Reference
getProject, getReferencedObject, getReferencedObject, getRefId, setProject, setRefId
-
Field Details
-
regex
-
matcher
private org.apache.tools.ant.util.regexp.RegexpMatcher matcher
-
-
Constructor Details
-
Reference
public Reference()
-
-
Method Details
-
getRegex
-
setRegex
Set a regular expression to match references.- Parameters:
regex
- the regular expression
-
addMatchingReferences
Add todest
any reference IDs insrc
matching this reference descriptor- Parameters:
src
- table of references to checkdest
- set of reference IDs matching this reference pattern
-