public enum SnapsLogEvents extends java.lang.Enum<SnapsLogEvents> implements org.eclipse.virgo.medic.eventlog.LogEvent
Enum Constant and Description |
---|
HOST_CREATED |
HOST_DESTROYED |
SNAP_BOUND |
SNAP_INIT_FAILURE |
SNAP_UNBOUND |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getEventCode() |
org.eclipse.virgo.medic.eventlog.Level |
getLevel() |
static SnapsLogEvents |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SnapsLogEvents[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SnapsLogEvents HOST_CREATED
public static final SnapsLogEvents HOST_DESTROYED
public static final SnapsLogEvents SNAP_BOUND
public static final SnapsLogEvents SNAP_UNBOUND
public static final SnapsLogEvents SNAP_INIT_FAILURE
public static SnapsLogEvents[] values()
for (SnapsLogEvents c : SnapsLogEvents.values()) System.out.println(c);
public static SnapsLogEvents 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 nullpublic java.lang.String getEventCode()
getEventCode
in interface org.eclipse.virgo.medic.eventlog.LogEvent
public org.eclipse.virgo.medic.eventlog.Level getLevel()
getLevel
in interface org.eclipse.virgo.medic.eventlog.LogEvent