description, location, project| Constructor and Description |
|---|
ResourceSelectorContainer()
Default constructor.
|
ResourceSelectorContainer(ResourceSelector... resourceSelectors)
Construct a new ResourceSelectorContainer with the specified array of selectors.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(ResourceSelector s)
Add a ResourceSelector to the container.
|
protected void |
dieOnCircularReference(java.util.Stack<java.lang.Object> stk,
Project p)
Overrides the version from DataType to recurse on nested ResourceSelectors.
|
protected ResourceSelectorContainer |
getCheckedRef()
Performs the check for circular references and returns the
referenced object.
|
java.util.List<ResourceSelector> |
getResourceSelectors()
Get the configured
ResourceSelectors as a List. |
java.util.Iterator<ResourceSelector> |
getSelectors()
Return an Iterator over the nested selectors.
|
boolean |
hasSelectors()
Learn whether this ResourceSelectorContainer has selectors.
|
int |
selectorCount()
Get the count of nested selectors.
|
checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributes, toStringgetDescription, getLocation, getProject, log, log, setDescription, setLocation, setProjectpublic ResourceSelectorContainer()
public ResourceSelectorContainer(ResourceSelector... resourceSelectors)
resourceSelectors - the ResourceSelector[] to add.public void add(ResourceSelector s)
s - the ResourceSelector to add.public boolean hasSelectors()
public int selectorCount()
public java.util.Iterator<ResourceSelector> getSelectors()
public java.util.List<ResourceSelector> getResourceSelectors()
ResourceSelectors as a List.List of ResourceSelectorprotected void dieOnCircularReference(java.util.Stack<java.lang.Object> stk,
Project p)
throws BuildException
dieOnCircularReference in class DataTypestk - the Stack of references.p - the Project to resolve against.BuildException - on error.protected ResourceSelectorContainer getCheckedRef()
DataTypegetCheckedRef in class DataType