public static enum CustomAuthenticator.CacheMode extends Enum<CustomAuthenticator.CacheMode>
Enum Constant and Description |
---|
NONE |
USER_NAMES |
USER_NAMES_AND_PASSWORDS |
Modifier and Type | Method and Description |
---|---|
static CustomAuthenticator.CacheMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CustomAuthenticator.CacheMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CustomAuthenticator.CacheMode NONE
public static final CustomAuthenticator.CacheMode USER_NAMES
public static final CustomAuthenticator.CacheMode USER_NAMES_AND_PASSWORDS
public static CustomAuthenticator.CacheMode[] values()
for (CustomAuthenticator.CacheMode c : CustomAuthenticator.CacheMode.values()) System.out.println(c);
public static CustomAuthenticator.CacheMode 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 © 2018 Arno Unkrig. All rights reserved.