org.apache.ant.antunit
Class AntUnit.ReferenceSet

java.lang.Object
  extended by ProjectComponent
      extended by org.apache.ant.antunit.AntUnit.ReferenceSet
Enclosing class:
AntUnit

public static class AntUnit.ReferenceSet
extends ProjectComponent

Defines a collection of inherited references, with an optional nested Mapper that maps them to new reference IDs in the target project.


Constructor Summary
AntUnit.ReferenceSet()
           
 
Method Summary
 void addReference(AntUnit.Reference reference)
           
 void copyReferencesInto(Project newProject)
          Copy all identified references into the target project, applying any name mapping required by a nested mapper element.
 Mapper createMapper()
           
 void setMapper(java.lang.String typeName, java.lang.String from, java.lang.String to)
          configure a single mapper to translate reference IDs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AntUnit.ReferenceSet

public AntUnit.ReferenceSet()
Method Detail

addReference

public void addReference(AntUnit.Reference reference)

createMapper

public Mapper createMapper()

setMapper

public void setMapper(java.lang.String typeName,
                      java.lang.String from,
                      java.lang.String to)
configure a single mapper to translate reference IDs


copyReferencesInto

public void copyReferencesInto(Project newProject)
Copy all identified references into the target project, applying any name mapping required by a nested mapper element.