public enum AuthBackend extends Enum<AuthBackend>
Enum Constant and Description |
---|
APPID |
APPROLE |
GITHUB |
TOKEN |
UNKNOWN |
USERPASS |
Modifier and Type | Method and Description |
---|---|
static AuthBackend |
forType(String type)
Retrieve
AuthBackend value for given type string. |
static AuthBackend |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthBackend[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthBackend TOKEN
public static final AuthBackend APPID
public static final AuthBackend APPROLE
public static final AuthBackend USERPASS
public static final AuthBackend GITHUB
public static final AuthBackend UNKNOWN
public static AuthBackend[] values()
for (AuthBackend c : AuthBackend.values()) System.out.println(c);
public static AuthBackend 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 AuthBackend forType(String type)
AuthBackend
value for given type string.type
- Type stringCopyright © 2016–2018. All rights reserved.