public static enum OAuth2FlowGoogleBuilder.AccessType extends Enum<OAuth2FlowGoogleBuilder.AccessType>
Modifier and Type | Method and Description |
---|---|
static String |
getKey() |
String |
getValue() |
static OAuth2FlowGoogleBuilder.AccessType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OAuth2FlowGoogleBuilder.AccessType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OAuth2FlowGoogleBuilder.AccessType ONLINE
public static final OAuth2FlowGoogleBuilder.AccessType OFFLINE
public static OAuth2FlowGoogleBuilder.AccessType[] values()
for (OAuth2FlowGoogleBuilder.AccessType c : OAuth2FlowGoogleBuilder.AccessType.values()) System.out.println(c);
public static OAuth2FlowGoogleBuilder.AccessType 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 getValue()
public static String getKey()
Copyright © 2007-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.