public enum AuthenticationStatus extends Enum<AuthenticationStatus>
Enum Constant and Description |
---|
AUTHENTICATED |
CREDENTIALS_FAILED |
SERIALIZATION_VERSION_MISMATCH |
Modifier and Type | Method and Description |
---|---|
static AuthenticationStatus |
getById(int id) |
byte |
getId() |
static AuthenticationStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthenticationStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthenticationStatus AUTHENTICATED
public static final AuthenticationStatus CREDENTIALS_FAILED
public static final AuthenticationStatus SERIALIZATION_VERSION_MISMATCH
public static AuthenticationStatus[] values()
for (AuthenticationStatus c : AuthenticationStatus.values()) System.out.println(c);
public static AuthenticationStatus 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 byte getId()
public static AuthenticationStatus getById(int id)
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.