Package com.tailf.conf
Enum Class DiffIterateOperFlag
- All Implemented Interfaces:
Serializable
,Comparable<DiffIterateOperFlag>
,Constable
The modification flags supplied by the library to
CdbDiffIterate
, MaapiDiffIterate
user implementation
of the CdbDiffIterate.iterate(com.tailf.conf.ConfObject[], DiffIterateOperFlag,com.tailf.conf.ConfObject,com.tailf.conf.ConfObject, Object)
and
MaapiDiffIterate.iterate(com.tailf.conf.ConfObject[], DiffIterateOperFlag,com.tailf.conf.ConfObject, com.tailf.conf.ConfObject,Object)
.
The current modification applies to the supplied path
ConfObject[]
.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionMaapiDiffIterate onlySpecifies that list entry, presence container, or leaf of type empty given has been created.The list entry, presence container, or optional leaf has been deleted.A descendant of the list entry has been modified.The list entry given by path, in an ordered-by user list, has been moved.The value of the leaf given by the path has been set to a new value. -
Method Summary
Modifier and TypeMethodDescriptionint
getValue()
static DiffIterateOperFlag
valueOf
(int i) Returns the enum constant of this class with the specified name.static DiffIterateOperFlag
Returns the enum constant of this class with the specified name.static DiffIterateOperFlag[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
MOP_CREATED
Specifies that list entry, presence container, or leaf of type empty given has been created. -
MOP_DELETED
The list entry, presence container, or optional leaf has been deleted. If the subscription was triggered because an ancestor was deleted, theiterate
method will not called at all if the delete was above the subscription point. However if the flagDiffIterateFlags.ITER_WANT_ANCESTOR_DELETE
is passed toCdbSubscription.diffIterate(int,CdbDiffIterate,EnumSet,Object)
then deletes that trigger a descendant subscription will also generate a call toiterate
. -
MOP_MODIFIED
A descendant of the list entry has been modified. -
MOP_VALUE_SET
The value of the leaf given by the path has been set to a new value. -
MOP_MOVED_AFTER
The list entry given by path, in an ordered-by user list, has been moved. If the new value is null, the entry has been moved first in the list, otherwise it has been moved after the entry given by new value. In this case new is a pointer to an array of key values identifying an entry in the list. The array is terminated with an element that has type C_NOEXISTS. -
MOP_ATTR_SET
MaapiDiffIterate only
-
-
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
-
getValue
public int getValue() -
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:
i
- 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
-