public enum AuthenticationMethod extends Enum<AuthenticationMethod>
Enum Constant and Description |
---|
BASIC_AUTH |
Modifier and Type | Method and Description |
---|---|
String |
getKey() |
static AuthenticationMethod |
parse(String key) |
static AuthenticationMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AuthenticationMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthenticationMethod BASIC_AUTH
public static AuthenticationMethod[] values()
for (AuthenticationMethod c : AuthenticationMethod.values()) System.out.println(c);
public static AuthenticationMethod 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 String getKey()
public static AuthenticationMethod parse(String key)
Copyright © 2020 Atlassian. All rights reserved.