public class DelegatedResourceComparator extends ResourceComparator
description, location, project| Constructor and Description |
|---|
DelegatedResourceComparator() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(ResourceComparator c)
Add a delegate ResourceComparator.
|
protected void |
dieOnCircularReference(java.util.Stack<java.lang.Object> stk,
Project p)
Overrides the version from DataType to recurse on nested ResourceSelector
s.
|
boolean |
equals(java.lang.Object o)
Equality method based on the vector of resources,
or if a reference, the referredto object.
|
int |
hashCode()
Hashcode based on the rules for equality.
|
protected int |
resourceCompare(Resource foo,
Resource bar)
Compare two Resources.
|
compare, getCheckedRefcheckAttributesAllowed, 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 void add(ResourceComparator c)
c - the next delegate ResourceComparator.public boolean equals(java.lang.Object o)
equals in interface java.util.Comparator<Resource>equals in class ResourceComparatoro - the object to check against.public int hashCode()
hashCode in class ResourceComparatorprotected int resourceCompare(Resource foo, Resource bar)
resourceCompare in class ResourceComparatorfoo - the first Resource.bar - the second Resource.protected 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.