public static enum Session.Type extends java.lang.Enum<Session.Type>
| Modifier and Type | Method and Description |
|---|---|
static Session.Type |
setSessionType(java.lang.String sessionTypeIn) |
static Session.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Session.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Session.Type LEGACY
public static final Session.Type MOJANG
public static Session.Type[] values()
for (Session.Type c : Session.Type.values()) System.out.println(c);
public static Session.Type 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 static Session.Type setSessionType(java.lang.String sessionTypeIn)