de.tub.citydb.api.event.global
Enum GlobalEvents
java.lang.Object
java.lang.Enum<GlobalEvents>
de.tub.citydb.api.event.global.GlobalEvents
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<GlobalEvents>
public enum GlobalEvents
- extends java.lang.Enum<GlobalEvents>
Method Summary |
static GlobalEvents |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static GlobalEvents[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
DATABASE_CONNECTION_STATE
public static final GlobalEvents DATABASE_CONNECTION_STATE
SWITCH_LOCALE
public static final GlobalEvents SWITCH_LOCALE
PROXY_SERVER_UNAVAILABLE
public static final GlobalEvents PROXY_SERVER_UNAVAILABLE
GENERIC_EVENT
public static final GlobalEvents GENERIC_EVENT
VIEW_STATE
public static final GlobalEvents VIEW_STATE
PROJECT_CHANGED
public static final GlobalEvents PROJECT_CHANGED
values
public static GlobalEvents[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (GlobalEvents c : GlobalEvents.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static GlobalEvents valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null