DuplicatesStrategy

Strategies for dealing with the potential creation of duplicate files or archive entries.

Entries

Link copied to clipboard

Do not attempt to prevent duplicates.

Link copied to clipboard

Do not allow duplicates by ignoring subsequent items to be created at the same path.

Link copied to clipboard

Do not attempt to prevent duplicates, but log a warning message when multiple items are to be created at the same path.

Link copied to clipboard

Throw a DuplicateFileCopyingException when subsequent items are to be created at the same path.

Link copied to clipboard

The default strategy, which is to inherit the strategy from the parent copy spec, if any, or INCLUDE if the copy spec has no parent.

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.