public static enum Event.Importance extends Enum<Event.Importance>
Enum Constant and Description |
---|
BACKGROUND
An event of very low importance in the current event group, usually a side effect of another event.
|
CRITICAL
A critical event that signals a major change or problem in the wiki.
|
MAJOR
An important event that stands out in the event stream.
|
MEDIUM
The default priority for events.
|
MINOR
An event of little importance, not relevant for most users.
|
Modifier and Type | Method and Description |
---|---|
static Event.Importance |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Event.Importance[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Event.Importance BACKGROUND
public static final Event.Importance MINOR
public static final Event.Importance MEDIUM
public static final Event.Importance MAJOR
public static final Event.Importance CRITICAL
public static Event.Importance[] values()
for (Event.Importance c : Event.Importance.values()) System.out.println(c);
public static Event.Importance 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 nullCopyright © 2004–2021 XWiki. All rights reserved.