Enum Class MoveFlags
- All Implemented Interfaces:
Serializable,Comparable<MoveFlags>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionReplace any files in the destination when copying or moving the storage.If any files exist in the target, take those files instead of the ones we may have in the source.If any files that we want to copy exist in the destination, fail the whole operation and don't perform any copy or move. -
Method Summary
-
Enum Constant Details
-
ALWAYS_REPLACE_FILES
Replace any files in the destination when copying or moving the storage. -
FAIL_IF_EXIST
If any files that we want to copy exist in the destination, fail the whole operation and don't perform any copy or move. There is an inherent race condition in this mode. The files are checked for existence before the operation starts. In between the check and performing the copy, the destination files may be created, in which case they are replaced. -
DONT_REPLACE
If any files exist in the target, take those files instead of the ones we may have in the source.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
swig
- Returns:
- the native value
-
fromSwig
- Parameters:
swigValue- the native value
-