public static enum ImpersonationToken.Scope extends java.lang.Enum<ImpersonationToken.Scope>
Enum Constant and Description |
---|
API |
READ_API |
READ_REGISTRY |
READ_REPOSITORY |
READ_USER |
SUDO |
WRITE_REGISTRY |
WRITE_REPOSITORY |
Modifier and Type | Method and Description |
---|---|
static ImpersonationToken.Scope |
forValue(java.lang.String value) |
java.lang.String |
toString() |
java.lang.String |
toValue() |
static ImpersonationToken.Scope |
valueOf(java.lang.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_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 WRITE_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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static ImpersonationToken.Scope forValue(java.lang.String value)
public java.lang.String toValue()
public java.lang.String toString()
toString
in class java.lang.Enum<ImpersonationToken.Scope>