org.apache.tools.ant.types.resources.selectors
Class Majority
- Cloneable, ResourceSelector
Majority ResourceSelector.
checkAttributesAllowed , checkChildrenAllowed , circularReference , clone , dieOnCircularReference , dieOnCircularReference , dieOnCircularReference , getCheckedRef , getCheckedRef , getCheckedRef , getCheckedRef , getDataTypeName , getRefid , invokeCircularReferenceCheck , isChecked , isReference , noChildrenAllowed , setChecked , setRefid , toString , tooManyAttributes |
Majority
public Majority()
Default constructor.
Majority
public Majority(ResourceSelector[] r)
Convenience constructor.
r
- the ResourceSelector[] to add.
isSelected
public boolean isSelected(Resource r)
Return true if this Resource is selected.
- isSelected in interface ResourceSelector
r
- the Resource to check.
- whether the Resource was selected.
setAllowtie
public void setAllowtie(boolean b)
Set whether ties are allowed.
b
- whether a tie is a pass.