public static enum ConfigurationRevisionEventType.PropertyRevision extends Enum<ConfigurationRevisionEventType.PropertyRevision>
Enum Constant and Description |
---|
MERGE_DECLARED
A strategy for revising events by merging properties provided by base and delta events, considering null values and non-existing (dynamic) properties as well.
|
MERGE_EXISTS
A strategy for revising events by merging properties provided by base and delta events, considering only values supplied by event properties that exist.
|
MERGE_NON_NULL
A strategy for revising events by merging properties provided by base and delta events, considering only non-null values.
|
OVERLAY_DECLARED
A fast strategy for revising events that groups properties provided by base and delta events and overlays contributed properties to compute a revision.
|
Modifier and Type | Method and Description |
---|---|
static ConfigurationRevisionEventType.PropertyRevision |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConfigurationRevisionEventType.PropertyRevision[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConfigurationRevisionEventType.PropertyRevision OVERLAY_DECLARED
For use when there is a limited number of combinations of properties that change on an event, and such combinations are known in advance.
The properties available on the output revision events are all properties of the base event type. Delta event types do not add any additional properties that are not present on the base event type.
Any null values or non-existing property on a delta (or base) event results in a null values for the same property on the output revision event.
public static final ConfigurationRevisionEventType.PropertyRevision MERGE_DECLARED
For use when there is a limited number of combinations of properties that change on an event, and such combinations are known in advance.
The properties available on the output revision events are all properties of the base event type plus all additional properties that any of the delta event types provide.
Any null values or non-existing property on a delta (or base) event results in a null values for the same property on the output revision event.
public static final ConfigurationRevisionEventType.PropertyRevision MERGE_NON_NULL
For use when there is an unlimited number of combinations of properties that change on an event, or combinations are not known in advance.
The properties available on the output revision events are all properties of the base event type plus all additional properties that any of the delta event types provide.
Null values returned by delta (or base) event properties provide no value to output revision events, i.e. null values are not merged.
public static final ConfigurationRevisionEventType.PropertyRevision MERGE_EXISTS
For use when there is an unlimited number of combinations of properties that change on an event, or combinations are not known in advance.
The properties available on the output revision events are all properties of the base event type plus all additional properties that any of the delta event types provide.
All properties are treated as dynamic properties: If an event property does not exist on a delta event (or base) event the property provides no value to output revision events, i.e. non-existing property values are not merged.
public static ConfigurationRevisionEventType.PropertyRevision[] values()
for (ConfigurationRevisionEventType.PropertyRevision c : ConfigurationRevisionEventType.PropertyRevision.values()) System.out.println(c);
public static ConfigurationRevisionEventType.PropertyRevision valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null