Class Majority
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.types.DataType
org.apache.tools.ant.types.resources.selectors.ResourceSelectorContainer
org.apache.tools.ant.types.resources.selectors.Majority
- 
Field SummaryFields inherited from class org.apache.tools.ant.ProjectComponentdescription, location, project
- 
Constructor SummaryConstructorsConstructorDescriptionMajority()Default constructor.Majority(ResourceSelector... r) Convenience constructor.
- 
Method SummaryModifier and TypeMethodDescriptionbooleanReturn true if this Resource is selected.voidsetAllowtie(boolean b) Set whether ties are allowed.Methods inherited from class org.apache.tools.ant.types.resources.selectors.ResourceSelectorContaineradd, dieOnCircularReference, getResourceSelectors, getSelectors, hasSelectors, selectorCountMethods inherited from class org.apache.tools.ant.types.DataTypecheckAttributesAllowed, checkChildrenAllowed, circularReference, clone, dieOnCircularReference, dieOnCircularReference, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getCheckedRef, getDataTypeName, getRefid, invokeCircularReferenceCheck, isChecked, isReference, noChildrenAllowed, pushAndInvokeCircularReferenceCheck, setChecked, setRefid, tooManyAttributes, toStringMethods inherited from class org.apache.tools.ant.ProjectComponentgetDescription, getLocation, getProject, log, log, setDescription, setLocation, setProject
- 
Constructor Details- 
Majoritypublic Majority()Default constructor.
- 
MajorityConvenience constructor.- Parameters:
- r- the ResourceSelector[] to add.
 
 
- 
- 
Method Details- 
setAllowtiepublic void setAllowtie(boolean b) Set whether ties are allowed.- Parameters:
- b- whether a tie is a pass.
 
- 
isSelectedReturn true if this Resource is selected.- Specified by:
- isSelectedin interface- ResourceSelector
- Parameters:
- r- the Resource to check.
- Returns:
- whether the Resource was selected.
 
 
-