org.apache.tools.ant.types.resources.selectors

Class Or

public class Or extends ResourceSelectorContainer implements ResourceSelector

Or ResourceSelector.

Since: Ant 1.7

Constructor Summary
Or()
Default constructor.
Or(ResourceSelector[] r)
Convenience constructor.
Method Summary
booleanisSelected(Resource r)
Return true if this Resource is selected.

Constructor Detail

Or

public Or()
Default constructor.

Or

public Or(ResourceSelector[] r)
Convenience constructor.

Parameters: r the ResourceSelector[] to add.

Method Detail

isSelected

public boolean isSelected(Resource r)
Return true if this Resource is selected.

Parameters: r the Resource to check.

Returns: whether the Resource was selected.