public class Compare extends DataType implements ResourceSelector
description, location, project| Constructor and Description | 
|---|
| Compare() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | add(ResourceComparator c)Add a ResourceComparator to this Compare selector. | 
| ResourceCollection | createControl()Create the nested control element. | 
| protected void | dieOnCircularReference(java.util.Stack<java.lang.Object> stk,
                      Project p)Overrides the version from DataType
 to recurse on nested ResourceComparators. | 
| boolean | isSelected(Resource r)Return true if this Resource is selected. | 
| void | setAgainst(Quantifier against)Set the quantifier to be used. | 
| void | setWhen(Comparison when)Set the comparison to be used. | 
checkAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, getCheckedRef, 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 ResourceComparator to add.public void setAgainst(Quantifier against)
against - the Quantifier EnumeratedAttribute to use.public void setWhen(Comparison when)
when - the Comparison EnumeratedAttribute to use.public ResourceCollection createControl()
public boolean isSelected(Resource r)
isSelected in interface ResourceSelectorr - the Resource to check.protected void dieOnCircularReference(java.util.Stack<java.lang.Object> stk,
                          Project p)
                               throws BuildException
dieOnCircularReference in class DataTypestk - the stack of data types to use (recursively).p - the project to use to dereference the references.BuildException - on error.