Enum Class ImportMode

java.lang.Object
java.lang.Enum<ImportMode>
org.exoplatform.portal.mop.importer.ImportMode
All Implemented Interfaces:
Serializable, Comparable<ImportMode>, Constable

public enum ImportMode extends Enum<ImportMode>
The import mode.
Author:
Julien Viet
  • Enum Constant Details

    • CONSERVE

      public static final ImportMode CONSERVE
      Import data when it does not exist, otherwise do nothing.
    • INSERT

      public static final ImportMode INSERT
      Import data when it does not exist, otherwise performs a strategy that adds new data only.
    • MERGE

      public static final ImportMode MERGE
      Import data when it does not exist, update data when it exists.
    • OVERWRITE

      public static final ImportMode OVERWRITE
      Overwrite data whatsoever.
  • Field Details

  • Method Details

    • values

      public static ImportMode[] 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 ImportMode 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