public static class AntUnit.ReferenceSet
extends org.apache.tools.ant.ProjectComponent
references,
with an optional nested Mapper that maps them to new
reference IDs in the target project.| Constructor and Description |
|---|
ReferenceSet() |
| Modifier and Type | Method and Description |
|---|---|
void |
addReference(AntUnit.Reference reference) |
void |
copyReferencesInto(org.apache.tools.ant.Project newProject)
Copy all identified references into the target project,
applying any name mapping required by a nested mapper
element.
|
org.apache.tools.ant.types.Mapper |
createMapper() |
void |
setMapper(String typeName,
String from,
String to)
Configure a single mapper to translate reference IDs.
|
public void addReference(AntUnit.Reference reference)
public org.apache.tools.ant.types.Mapper createMapper()
public void setMapper(String typeName, String from, String to)
typeName - the mapper typefrom - the from attributeto - the to attributepublic void copyReferencesInto(org.apache.tools.ant.Project newProject)
newProject - the target project to copy references intoCopyright © 2023 The Apache Software Foundation. All rights reserved.