public enum Scope extends Enum<Scope>
Enum Constant and Description |
---|
Accounting |
AccountingPayments |
Address |
All |
Email |
OpenId |
OpenIdAll |
Payments |
Phone |
Profile |
Modifier and Type | Method and Description |
---|---|
static Scope |
fromValue(String value) |
String |
value() |
static Scope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Scope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Scope Accounting
public static final Scope Payments
public static final Scope AccountingPayments
public static final Scope OpenId
public static final Scope Profile
public static final Scope Phone
public static final Scope Address
public static final Scope Email
public static final Scope OpenIdAll
public static final Scope All
public static Scope[] values()
for (Scope c : Scope.values()) System.out.println(c);
public static Scope 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 value()
Copyright © 2017. All rights reserved.