description, location, project
Constructor and Description |
---|
ResourceSelectorContainer()
Default constructor.
|
ResourceSelectorContainer(ResourceSelector[] rs)
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.
|
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, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributes, toString
getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
public ResourceSelectorContainer()
public ResourceSelectorContainer(ResourceSelector[] rs)
rs
- 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()
protected void dieOnCircularReference(java.util.Stack<java.lang.Object> stk, Project p) throws BuildException
dieOnCircularReference
in class DataType
stk
- the Stack of references.p
- the Project to resolve against.BuildException
- on error.