com.hp.ucmdb.api.topology
Enum ModifyMode

java.lang.Object
  extended by java.lang.Enum<ModifyMode>
      extended by com.hp.ucmdb.api.topology.ModifyMode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ModifyMode>

public enum ModifyMode
extends java.lang.Enum<ModifyMode>

The modification mode determines the behavior of the UCMDB with respect to CI and relations modification failures.


Enum Constant Summary
OPTIMISTIC
          CI or relation modification failure is ignored and other modifications are applied.
STRICT
          Fail the creation of the whole batch if any of the supplied CI or relation modification fails.
 
Method Summary
static ModifyMode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ModifyMode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

STRICT

public static final ModifyMode STRICT
Fail the creation of the whole batch if any of the supplied CI or relation modification fails.


OPTIMISTIC

public static final ModifyMode OPTIMISTIC
CI or relation modification failure is ignored and other modifications are applied.

Method Detail

values

public static ModifyMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ModifyMode c : ModifyMode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ModifyMode valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null


Documentation Feedback
Copyright 2010 Hewlett-Packard Development Company, L.P.