Modifier and Type | Field and Description |
---|---|
private boolean | |
private Collection | |
private boolean | |
private Mapper | |
private ResourceCollection |
Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public synchronized void | |
public void | |
private synchronized Collection | |
private void | |
public Object | Returns: a cloned instance.Overrides org. |
public Mapper | Returns: a mapper to be configured.Define the mapper to map source to destination files. |
protected synchronized void | dieOnCircularReference(Stack<Object>
the stack of data types to use (recursively). stk, Project the project to use to dereference the references. p)Overrides org. |
private Collection | |
private MappedResourceCollection | |
public boolean | isFilesystemOnly()
Implements org. |
public Iterator | |
public void | |
public void | setEnableMultipleMappings(boolean
If true the type will
use all the mappings for a given source path, if
false, only the first mapped name is
processed.
By default, this setting is false to provide backward
compatibility with earlier releases. enableMultipleMappings)Set method of handling mappers that return multiple mappings for a given source path. |
public void | setRefid(Reference
the Reference to set. r)Overrides org. |
public int | size()
Implements org. |
public String | Returns: a descriptiveString .Overrides org. |
cache | back to summary |
---|---|
private boolean cache |
cachedColl | back to summary |
---|---|
private Collection<Resource> cachedColl |
enableMultipleMappings | back to summary |
---|---|
private boolean enableMultipleMappings |
mapper | back to summary |
---|---|
private Mapper mapper |
nested | back to summary |
---|---|
private ResourceCollection nested |
MappedResourceCollection | back to summary |
---|---|
public MappedResourceCollection() |
add | back to summary |
---|---|
public synchronized void add(ResourceCollection c) throws BuildException Adds the required nested ResourceCollection.
|
add | back to summary |
---|---|
public void add(FileNameMapper fileNameMapper) Add a nested filenamemapper.
|
cacheCollection | back to summary |
---|---|
private synchronized Collection |
checkInitialized | back to summary |
---|---|
private void checkInitialized() |
clone | back to summary |
---|---|
public Object clone() Overrides org. Implement clone. The nested resource collection and mapper are copied. |
createMapper | back to summary |
---|---|
public Mapper createMapper() throws BuildException Define the mapper to map source to destination files.
|
dieOnCircularReference | back to summary |
---|---|
protected synchronized void dieOnCircularReference(Stack<Object> stk, Project p) throws BuildException Overrides org. Overrides the version of DataType to recurse on all DataType child elements that may have been added.
|
getCollection | back to summary |
---|---|
private Collection |
getRef | back to summary |
---|---|
private MappedResourceCollection getRef() |
isFilesystemOnly | back to summary |
---|---|
public boolean isFilesystemOnly() Implements org. Doc from org. Indicate whether this ResourceCollection is composed entirely of
Resources accessible via local filesystem conventions. If true, all
resources returned from this collection should respond with a
|
iterator | back to summary |
---|---|
public Iterator Implements java. Doc from java. Returns an iterator over elements of type |
setCache | back to summary |
---|---|
public void setCache(boolean cache) Set whether to cache collections.
|
setEnableMultipleMappings | back to summary |
---|---|
public void setEnableMultipleMappings(boolean enableMultipleMappings) Set method of handling mappers that return multiple mappings for a given source path.
|
setRefid | back to summary |
---|---|
public void setRefid(Reference r) Overrides org. Overrides the base version. |
size | back to summary |
---|---|
public int size() Implements org. Doc from org. Learn the number of contained Resources.
|
toString | back to summary |
---|---|
public String toString() Overrides org. Format this resource collection as a String. |