Package org.terracotta.utilities.io
Enum Files.ExtendedOption
- All Implemented Interfaces:
Serializable,Comparable<Files.ExtendedOption>,java.lang.constant.Constable,CopyOption
- Enclosing class:
- Files
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIndicates that, during recursive copy, linked content outside of the source tree should be copied and not linked.Indicates that copying source files from differentFileStoreinstances is not permitted.Recursively copy a directory and its content. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Files.ExtendedOptionReturns the enum constant of this type with the specified name.static Files.ExtendedOption[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
RECURSIVE
Recursively copy a directory and its content. -
NOSPAN_FILESTORES
Indicates that copying source files from differentFileStoreinstances is not permitted. -
DEEP_COPY
Indicates that, during recursive copy, linked content outside of the source tree should be copied and not linked.
-
-
Constructor Details
-
ExtendedOption
private ExtendedOption()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-