@SPI public enum EventContextField extends java.lang.Enum<EventContextField> implements StorageField
EventContext
.StorageField
Enum Constant and Description |
---|
context_of_command
A field representing a
CommandContext . |
context_timestamp
A field representing the
event posting time . |
context_version
A field representing a
version of the
entity which produced the event. |
Modifier and Type | Method and Description |
---|---|
static EventContextField |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EventContextField[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
name
public static final EventContextField context_timestamp
event posting time
.public static final EventContextField context_of_command
CommandContext
.
Presumably the field would contain a serialized format but other storage options (for example, JSON) are possible.
public static final EventContextField context_version
version
of the
entity which produced the event.public static EventContextField[] values()
for (EventContextField c : EventContextField.values()) System.out.println(c);
public static EventContextField valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null