All Implemented Interfaces:
java.lang.Cloneable, ResourceSelector

public class And
extends ResourceSelectorContainer
implements ResourceSelector
And ResourceSelector.
Since:
Ant 1.7
  • Constructor Details

    • And

      public And()
      Default constructor.
    • And

      public And​(ResourceSelector... r)
      Convenience constructor.
      Parameters:
      r - the ResourceSelector[] to add.
  • Method Details

    • isSelected

      public boolean isSelected​(Resource r)
      Return true if this Resource is selected.
      Specified by:
      isSelected in interface ResourceSelector
      Parameters:
      r - the Resource to check.
      Returns:
      whether the Resource was selected.