java.lang.Object
java.lang.Enum<ImportMode>
ch.ethz.sis.openbis.generic.asapi.v3.dto.importer.options.ImportMode
All Implemented Interfaces:
Serializable, Comparable<ImportMode>, Constable

@JsonObject("as.dto.importer.options.ImportMode") public enum ImportMode extends Enum<ImportMode>
  • Enum Constant Details

    • UPDATE_IF_EXISTS

      public static final ImportMode UPDATE_IF_EXISTS
    • IGNORE_EXISTING

      public static final ImportMode IGNORE_EXISTING
    • FAIL_IF_EXISTS

      public static final ImportMode FAIL_IF_EXISTS
  • 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