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
ResourceSelector s 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, toString
getDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
public 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()
ResourceSelector
s as a List
.List
of ResourceSelector
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.protected ResourceSelectorContainer getCheckedRef()
DataType
getCheckedRef
in class DataType