public enum StartedDetail extends java.lang.Enum<StartedDetail> implements DomainEventDetail
Enum Constant and Description |
---|
BOOTED
Normal startup from boot.
|
FROM_SNAPSHOT
Restored from snapshot
|
MIGRATED
Incoming migration from another host.
|
RESTORED
Restored from a state file.
|
UNKNOWN |
WAKEUP
Started due to wakeup event.
|
Modifier and Type | Method and Description |
---|---|
static StartedDetail |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StartedDetail[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StartedDetail BOOTED
public static final StartedDetail MIGRATED
public static final StartedDetail RESTORED
public static final StartedDetail FROM_SNAPSHOT
public static final StartedDetail WAKEUP
public static final StartedDetail UNKNOWN
public static StartedDetail[] values()
for (StartedDetail c : StartedDetail.values()) System.out.println(c);
public static StartedDetail 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