Class FilterSet.OnMissing

java.lang.Object
org.apache.tools.ant.types.EnumeratedAttribute
org.apache.tools.ant.types.FilterSet.OnMissing
Enclosing class:
FilterSet

public static class FilterSet.OnMissing extends EnumeratedAttribute
EnumeratedAttribute to set behavior WRT missing filtersfiles: "fail" (default), "warn", "ignore".
Since:
Ant 1.7
  • Field Details

  • Constructor Details

    • OnMissing

      public OnMissing()
      Default constructor.
    • OnMissing

      public OnMissing(String value)
      Convenience constructor.
      Parameters:
      value - the value to set.
  • Method Details

    • getValues

      public String[] getValues()
      This is the only method a subclass needs to implement..
      Specified by:
      getValues in class EnumeratedAttribute
      Returns:
      an array holding all possible values of the enumeration. The order of elements must be fixed so that indexOfValue(String) always return the same index for the same value.