Class 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
    • Constructor Detail

      • OnMissing

        public OnMissing()
        Default constructor.
      • OnMissing

        public OnMissing​(java.lang.String value)
        Convenience constructor.
        Parameters:
        value - the value to set.
    • Method Detail

      • getValues

        public java.lang.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.