| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private Collection | |
| private List |
| Access | Constructor and Description |
|---|---|
| public | |
| public | BaseResourceCollectionContainer(Project
Project project)Create a new BaseResourceCollectionContainer. |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized void | add(ResourceCollection
the ResourceCollection to add. c)Implements org. |
| public synchronized void | addAll(Collection<? extends ResourceCollection>
the Collection whose elements to add. c)Add the Collection of ResourceCollections to the container. |
| private synchronized Collection | |
| public synchronized void | |
| public Object | Returns: a cloned instance.Overrides org. |
| 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. |
| protected abstract Collection | Returns: Collection.Template method for subclasses to return a Collection object of Resources. |
| private BaseResourceCollectionContainer | |
| public final synchronized List | |
| public synchronized boolean | |
| public synchronized boolean | Returns: whether this is a filesystem-only resource collection.Implements org. |
| public final synchronized Iterator | Returns: a "fail-fast" Iterator.Implements java. |
| public synchronized void | |
| public synchronized int | Returns: number of elements as int.Implements org. |
| public synchronized String | Returns: a descriptiveString.Overrides org. |
| cache | back to summary |
|---|---|
| private boolean cache | |
| coll | back to summary |
|---|---|
| private Collection<Resource> coll | |
| rc | back to summary |
|---|---|
| private List<ResourceCollection> rc | |
| BaseResourceCollectionContainer | back to summary |
|---|---|
| public BaseResourceCollectionContainer() Create a new BaseResourceCollectionContainer. | |
| BaseResourceCollectionContainer | back to summary |
|---|---|
| public BaseResourceCollectionContainer(Project project) Create a new BaseResourceCollectionContainer.
| |
| add | back to summary |
|---|---|
| public synchronized void add(ResourceCollection c) throws BuildException Implements org. Add a ResourceCollection to the container.
| |
| addAll | back to summary |
|---|---|
| public synchronized void addAll(Collection<? extends ResourceCollection> c) throws BuildException Add the Collection of ResourceCollections to the container.
| |
| cacheCollection | back to summary |
|---|---|
| private synchronized Collection | |
| clear | back to summary |
|---|---|
| public synchronized void clear() throws BuildException Clear the container.
| |
| clone | back to summary |
|---|---|
| public Object clone() Overrides org. Implement clone. The set of nested resource collections is shallowly cloned. | |
| 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 |
|---|---|
| protected abstract Collection Template method for subclasses to return a Collection object of Resources.
| |
| getRef | back to summary |
|---|---|
| private BaseResourceCollectionContainer getRef() | |
| getResourceCollections | back to summary |
|---|---|
| public final synchronized List Get the nested ResourceCollections.
| |
| isCache | back to summary |
|---|---|
| public synchronized boolean isCache() Learn whether to cache collections. Default is
| |
| isFilesystemOnly | back to summary |
|---|---|
| public synchronized boolean isFilesystemOnly() Implements org. Fulfill the ResourceCollection contract.
| |
| iterator | back to summary |
|---|---|
| public final synchronized Iterator Implements java. Fulfill the ResourceCollection contract. The Iterator returned will throw ConcurrentModificationExceptions if ResourceCollections are added to this container while the Iterator is in use. | |
| setCache | back to summary |
|---|---|
| public synchronized void setCache(boolean b) Set whether to cache collections.
| |
| size | back to summary |
|---|---|
| public synchronized int size() Implements org. Fulfill the ResourceCollection contract.
| |
| toString | back to summary |
|---|---|
| public synchronized String toString() Overrides org. Format this BaseResourceCollectionContainer as a String. | |