Enum Class RepositoryDump.PostAction

java.lang.Object
java.lang.Enum<RepositoryDump.PostAction>
com.priint.pubserver.webservice.RepositoryDump.PostAction
All Implemented Interfaces:
Serializable, Comparable<RepositoryDump.PostAction>, Constable
Enclosing class:
RepositoryDump

public static enum RepositoryDump.PostAction extends Enum<RepositoryDump.PostAction>
  • Enum Constant Details

    • CREATE_IF_NOT_EXIST

      public static final RepositoryDump.PostAction CREATE_IF_NOT_EXIST
      Will check-in the file only if it not already existing.
      Existing data will not get overwritten.
    • DELETE

      public static final RepositoryDump.PostAction DELETE
      Delete from the repository.

      Use with care.
      All deletions will be executed before upserts.

    • PHYSICAL_DELETE

      public static final RepositoryDump.PostAction PHYSICAL_DELETE
      Will remove a file or folder from the repository.
      No possibility to restore.
    • UPSERT_IF_NEWER

      public static final RepositoryDump.PostAction 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

      public static RepositoryDump.PostAction[] 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

      public static RepositoryDump.PostAction valueOf(String name)
      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 name
      NullPointerException - if the argument is null