public static enum ImpersonationToken.Scope extends Enum<ImpersonationToken.Scope>
| Enum Constant and Description |
|---|
API |
READ_REGISTRY |
READ_REPOSITORY |
READ_USER |
SUDO |
WRITE_REPOSITORY |
| Modifier and Type | Method and 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 final ImpersonationToken.Scope READ_REPOSITORY
public static final ImpersonationToken.Scope WRITE_REPOSITORY
public static final ImpersonationToken.Scope READ_REGISTRY
public static final ImpersonationToken.Scope SUDO
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 © 2019. All rights reserved.