org.apache.tools.ant.types.resources.selectors
public class Majority extends ResourceSelectorContainer implements ResourceSelector
Since: Ant 1.7
| Constructor Summary | |
|---|---|
| Majority()
Default constructor. | |
| Majority(ResourceSelector[] r)
Convenience constructor. | |
| Method Summary | |
|---|---|
| boolean | isSelected(Resource r)
Return true if this Resource is selected. |
| void | setAllowtie(boolean b)
Set whether ties are allowed. |
Parameters: r the ResourceSelector[] to add.
Parameters: r the Resource to check.
Returns: whether the Resource was selected.
Parameters: b whether a tie is a pass.