org.apache.ant.compress.taskdefs

## Class ArchiveBase.WhenEmpty

- java.lang.Object
- - org.apache.tools.ant.types.EnumeratedAttribute
  - - org.apache.ant.compress.taskdefs.ArchiveBase.WhenEmpty

- Enclosing class:
    ArchiveBase

      public static class ArchiveBase.WhenEmpty
      extends org.apache.tools.ant.types.EnumeratedAttribute

  Possible behaviors when there are no matching files for the task: "fail", "skip".

- - ### Field Summary

    - ### Fields inherited from class org.apache.tools.ant.types.EnumeratedAttribute

      `value`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `WhenEmpty()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String[]` | `getValues()` The string values for the enumerated value

    - ### Methods inherited from class org.apache.tools.ant.types.EnumeratedAttribute

      `containsValue, getIndex, getInstance, getValue, indexOfValue, setValue, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### WhenEmpty

          public WhenEmpty()

  - ### Method Detail

    - #### getValues

          public java.lang.String[] getValues()

      The string values for the enumerated value
      Specified by:
        `getValues` in class `org.apache.tools.ant.types.EnumeratedAttribute`
      Returns:
        the values