Enum Class CreateGracefullyMode

java.lang.Object
java.lang.Enum<CreateGracefullyMode>
com.hp.ucmdb.api.topology.CreateGracefullyMode
All Implemented Interfaces:
Serializable, Comparable<CreateGracefullyMode>, java.lang.constant.Constable

public enum CreateGracefullyMode extends Enum<CreateGracefullyMode>
The creation mode determines the behavior of the UCMDB with respect to existing CIs and relations. A CI exists if the values of its key attributes are the same as those of an CI defined in the UCMDB. A relation exists if there is a relation of the same type between the same CIs.
  • Enum Constant Details

    • IGNORE_EXISTING

      public static final CreateGracefullyMode IGNORE_EXISTING
      Create non-existing CIs and relations and ignore existing ones. Do not update properties of existing elements.
    • UPDATE_EXISTING

      public static final CreateGracefullyMode UPDATE_EXISTING
      Create non-existing CIs and relations and update the non-key properties of existing ones.
    • UPDATE_IF_EXACT_MATCH

      public static final CreateGracefullyMode UPDATE_IF_EXACT_MATCH
    • IGNORE_IF_MULTI_MATCH

      public static final CreateGracefullyMode IGNORE_IF_MULTI_MATCH
  • Method Details

    • values

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