Top Description Constructors Methods
org.apache.tools.ant.types.resources.selectors

public Class Or

extends ResourceSelectorContainer
implements ResourceSelector
Class Inheritance
All Implemented Interfaces
org.apache.tools.ant.types.resources.selectors.ResourceSelector
Imports
org.apache.tools.ant.types.Resource

Or ResourceSelector.
Since
Ant 1.7

Constructor Summary

AccessConstructor and Description
public
Or()

Default constructor.

public
Or(ResourceSelector...
the ResourceSelector[] to add.
r
)

Convenience constructor.

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

whether the Resource was selected.
isSelected
(Resource
the Resource to check.
r
)

Implements org.apache.tools.ant.types.resources.selectors.ResourceSelector.isSelected.

Return true if this Resource is selected.
Inherited from org.apache.tools.ant.types.resources.selectors.ResourceSelectorContainer:
adddieOnCircularReferencegetResourceSelectorsgetSelectorshasSelectorsselectorCount

Constructor Detail

Orback to summary
public Or()

Default constructor.

Orback to summary
public Or(ResourceSelector... r)

Convenience constructor.

Parameters
r:ResourceSelector[]

the ResourceSelector[] to add.

Method Detail

isSelectedback to summary
public boolean isSelected(Resource r)

Implements org.apache.tools.ant.types.resources.selectors.ResourceSelector.isSelected.

Return true if this Resource is selected.

Parameters
r:Resource

the Resource to check.

Returns:boolean

whether the Resource was selected.