public static enum Constants.ProjectAccessTokenScope extends java.lang.Enum<Constants.ProjectAccessTokenScope>
Enum Constant and Description |
---|
API |
CREATE_RUNNER |
READ_API |
READ_REGISTRY |
READ_REPOSITORY |
WRITE_REGISTRY |
WRITE_REPOSITORY |
Modifier and Type | Method and Description |
---|---|
static Constants.ProjectAccessTokenScope |
forValue(java.lang.String value) |
java.lang.String |
toString() |
java.lang.String |
toValue() |
static Constants.ProjectAccessTokenScope |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Constants.ProjectAccessTokenScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.ProjectAccessTokenScope API
public static final Constants.ProjectAccessTokenScope READ_API
public static final Constants.ProjectAccessTokenScope READ_REGISTRY
public static final Constants.ProjectAccessTokenScope WRITE_REGISTRY
public static final Constants.ProjectAccessTokenScope READ_REPOSITORY
public static final Constants.ProjectAccessTokenScope WRITE_REPOSITORY
public static final Constants.ProjectAccessTokenScope CREATE_RUNNER
public static Constants.ProjectAccessTokenScope[] values()
for (Constants.ProjectAccessTokenScope c : Constants.ProjectAccessTokenScope.values()) System.out.println(c);
public static Constants.ProjectAccessTokenScope 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 Constants.ProjectAccessTokenScope forValue(java.lang.String value)
public java.lang.String toValue()
public java.lang.String toString()
toString
in class java.lang.Enum<Constants.ProjectAccessTokenScope>