Package com.hp.ucmdb.api.topology
Enum Class CreateGracefullyMode
- All Implemented Interfaces:
Serializable
,Comparable<CreateGracefullyMode>
,java.lang.constant.Constable
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCreate non-existing CIs and relations and ignore existing ones.Create non-existing CIs and relations and update the non-key properties of existing ones. -
Method Summary
Modifier and TypeMethodDescriptionstatic CreateGracefullyMode
Returns the enum constant of this class with the specified name.static CreateGracefullyMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
IGNORE_EXISTING
Create non-existing CIs and relations and ignore existing ones. Do not update properties of existing elements. -
UPDATE_EXISTING
Create non-existing CIs and relations and update the non-key properties of existing ones. -
UPDATE_IF_EXACT_MATCH
-
IGNORE_IF_MULTI_MATCH
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-