Class AntUnit.Reference

  • Enclosing class:
    AntUnit

    public static class AntUnit.Reference
    extends org.apache.tools.ant.taskdefs.Ant.Reference
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.apache.tools.ant.util.regexp.RegexpMatcher matcher  
      private java.lang.String regex  
    • Constructor Summary

      Constructors 
      Constructor Description
      Reference()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addMatchingReferences​(java.util.Hashtable src, java.util.Collection dest)
      Add to dest any reference IDs in src matching this reference descriptor
      java.lang.String getRegex()  
      void setRegex​(java.lang.String regex)
      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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • regex

        private java.lang.String regex
      • matcher

        private org.apache.tools.ant.util.regexp.RegexpMatcher matcher
    • Constructor Detail

      • Reference

        public Reference()
    • Method Detail

      • getRegex

        public java.lang.String getRegex()
      • setRegex

        public void setRegex​(java.lang.String regex)
        Set a regular expression to match references.
        Parameters:
        regex - the regular expression
      • addMatchingReferences

        public void addMatchingReferences​(java.util.Hashtable src,
                                          java.util.Collection dest)
        Add to dest any reference IDs in src matching this reference descriptor
        Parameters:
        src - table of references to check
        dest - set of reference IDs matching this reference pattern