org.apache.tools.ant.taskdefs

Class Definer.OnError

    • Field Detail

      • POLICY_FAIL

        public static final java.lang.String POLICY_FAIL
        text value of onerror option "fail"
        See Also:
        Constant Field Values
      • POLICY_REPORT

        public static final java.lang.String POLICY_REPORT
        text value of onerror option "report"
        See Also:
        Constant Field Values
      • POLICY_IGNORE

        public static final java.lang.String POLICY_IGNORE
        text value of onerror option "ignore"
        See Also:
        Constant Field Values
      • POLICY_FAILALL

        public static final java.lang.String POLICY_FAILALL
        text value of onerror option "failall"
        See Also:
        Constant Field Values
    • Constructor Detail

      • OnError

        public OnError()
        Constructor
      • OnError

        public OnError(java.lang.String value)
        Constructor using a string.
        Parameters:
        value - the value of the attribute
    • Method Detail

      • getValues

        public java.lang.String[] getValues()
        get the values
        Specified by:
        getValues in class EnumeratedAttribute
        Returns:
        an array of the allowed values for this attribute.