public static enum LoginCancelledEvent.CancelReason extends Enum<LoginCancelledEvent.CancelReason>
Enum Constant and Description |
---|
CLIENT
The client aborted the login process by the user
pressing the "Cancel" button
|
PROXY
LoginEvent or
PreLoginEvent are getting cancelled |
PROXY_EXCEPTION
Exception were caught during login process and the
proxy cancelled the login process
|
Modifier and Type | Method and Description |
---|---|
static LoginCancelledEvent.CancelReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LoginCancelledEvent.CancelReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoginCancelledEvent.CancelReason CLIENT
public static final LoginCancelledEvent.CancelReason PROXY
LoginEvent
or
PreLoginEvent
are getting cancelledpublic static final LoginCancelledEvent.CancelReason PROXY_EXCEPTION
public static LoginCancelledEvent.CancelReason[] values()
for (LoginCancelledEvent.CancelReason c : LoginCancelledEvent.CancelReason.values()) System.out.println(c);
public static LoginCancelledEvent.CancelReason 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 © 2019–2022. All rights reserved.