Enum Class DeleteMode

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

public enum DeleteMode extends Enum<DeleteMode>
The deletion mode determines the behavior of the UCMDB with respect to CIs and relations that do not exist.
  • Enum Constant Details

    • FAIL_IF_NOT_EXIST

      public static final DeleteMode FAIL_IF_NOT_EXIST
      Fail the whole delete operation if any of the specified elements do not exist.
    • IGNORE_NON_EXISTING

      public static final DeleteMode IGNORE_NON_EXISTING
      Delete the elements that exist and ignore those that do not.
  • Method Details

    • values

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