Package com.priint.pubserver.webservice
Enum Class RepositoryDump.PostAction
- All Implemented Interfaces:
Serializable,Comparable<RepositoryDump.PostAction>,Constable
- Enclosing class:
- RepositoryDump
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionWill check-in the file only if it not already existing.Delete from the repository.Will remove a file or folder from the repository.If the target file not already existing, it will be created. -
Method Summary
Modifier and TypeMethodDescriptionstatic RepositoryDump.PostActionReturns the enum constant of this class with the specified name.static RepositoryDump.PostAction[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CREATE_IF_NOT_EXIST
Will check-in the file only if it not already existing.
Existing data will not get overwritten. -
DELETE
Delete from the repository.Use with care.
All deletions will be executed before upserts. -
PHYSICAL_DELETE
Will remove a file or folder from the repository.
No possibility to restore. -
UPSERT_IF_NEWER
If the target file not already existing, it will be created.
If the target file is already existing and older than the version in the dump, it will be overwritten.
If the target file is already existing and newer, then the file is skipped for upsert.
-
-
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
-