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 TypeMethodDescriptionvoidaddMatchingReferences(Hashtable src, Collection dest) Add todestany reference IDs insrcmatching this reference descriptorgetRegex()voidSet a regular expression to match references.Methods inherited from class org.apache.tools.ant.taskdefs.Ant.Reference
getToRefid, setToRefidMethods 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 todestany reference IDs insrcmatching this reference descriptor- Parameters:
src- table of references to checkdest- set of reference IDs matching this reference pattern
-