public enum Actions extends Enum<Actions>
Enum Constant and Description |
---|
CHANGED_NAME |
FIRST_LOGOUT |
FIRST_SESSION |
KILLED |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static Actions |
getById(int id) |
int |
getId() |
String |
toString() |
static Actions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Actions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Actions UNKNOWN
public static final Actions FIRST_SESSION
public static final Actions FIRST_LOGOUT
public static final Actions CHANGED_NAME
public static final Actions KILLED
public static Actions[] values()
for (Actions c : Actions.values()) System.out.println(c);
public static Actions 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 nullpublic static Actions getById(int id)
public int getId()
Copyright © 2017. All rights reserved.