org.apache.tools.ant.types.resources.selectors
public class Compare extends DataType implements ResourceSelector
Since: Ant 1.7
Method Summary | |
---|---|
void | add(ResourceComparator c)
Add a ResourceComparator to this Compare selector.
|
ResourceCollection | createControl()
Create the nested control element. |
protected void | dieOnCircularReference(Stack stk, Project p)
Overrides the version from DataType
to recurse on nested ResourceComparators. |
boolean | isSelected(Resource r) {@inheritDoc} |
void | setAgainst(Quantifier against)
Set the quantifier to be used. |
void | setWhen(Comparison when)
Set the comparison to be used. |
Parameters: c the ResourceComparator to add.
Returns: ResourceCollection.
Parameters: stk the stack of data types to use (recursively). p the project to use to dereference the references.
Throws: BuildException on error.
Parameters: against the Quantifier EnumeratedAttribute to use.
Parameters: when the Comparison EnumeratedAttribute to use.