org.apache.ant.compress.taskdefs

## Class ArchiveBase.Duplicate

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

- Enclosing class:
    ArchiveBase

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

  Possible behaviors when a duplicate file is added: "add", "preserve" or "fail"

- - ### Field Summary

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

      `value`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Duplicate()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String[]` | `getValues()`

    - ### 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

    - #### Duplicate

          public Duplicate()

  - ### Method Detail

    - #### getValues

          public java.lang.String[] getValues()

      Specified by:
        `getValues` in class `org.apache.tools.ant.types.EnumeratedAttribute`