public enum CredentialsFromAdminAccess extends Enum<CredentialsFromAdminAccess> implements com.google.common.base.Function<Statement,Credentials>
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
Credentials |
apply(Statement input) |
static CredentialsFromAdminAccess |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CredentialsFromAdminAccess[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CredentialsFromAdminAccess INSTANCE
public static CredentialsFromAdminAccess[] values()
for (CredentialsFromAdminAccess c : CredentialsFromAdminAccess.values()) System.out.println(c);
public static CredentialsFromAdminAccess 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 Credentials apply(@Nullable Statement input)
apply
in interface com.google.common.base.Function<Statement,Credentials>
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.