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

Uses the same strategy as the parent copy specification. This is the default behavior.

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.