public enum RepositoryPermission extends java.lang.Enum<RepositoryPermission>
| Enum Constant and Description |
|---|
$UNKNOWN
Auto generated constant for unknown enum values
|
ADMIN
Can read, clone, and push to this repository.
|
MAINTAIN
Can read, clone, and push to this repository.
|
READ
Can read and clone this repository.
|
TRIAGE
Can read and clone this repository.
|
WRITE
Can read, clone, and push to this repository.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
rawValue() |
static RepositoryPermission |
safeValueOf(java.lang.String rawValue) |
static RepositoryPermission |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RepositoryPermission[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RepositoryPermission ADMIN
public static final RepositoryPermission MAINTAIN
public static final RepositoryPermission WRITE
public static final RepositoryPermission TRIAGE
public static final RepositoryPermission READ
public static final RepositoryPermission $UNKNOWN
public static RepositoryPermission[] values()
for (RepositoryPermission c : RepositoryPermission.values()) System.out.println(c);
public static RepositoryPermission 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 java.lang.String rawValue()
public static RepositoryPermission safeValueOf(java.lang.String rawValue)