Serializable
, Comparable<ImpersonationToken.Scope>
public static enum ImpersonationToken.Scope extends Enum<ImpersonationToken.Scope>
Modifier and Type | Method | Description |
---|---|---|
static ImpersonationToken.Scope |
forValue(String value) |
|
String |
toString() |
|
String |
toValue() |
|
static ImpersonationToken.Scope |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static ImpersonationToken.Scope[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImpersonationToken.Scope API
public static final ImpersonationToken.Scope READ_USER
public static ImpersonationToken.Scope[] values()
for (ImpersonationToken.Scope c : ImpersonationToken.Scope.values()) System.out.println(c);
public static ImpersonationToken.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 static ImpersonationToken.Scope forValue(String value)
public String toValue()
public String toString()
toString
in class Enum<ImpersonationToken.Scope>
Copyright © 2018. All rights reserved.