public enum GHPermissionType extends Enum<GHPermissionType>
| Modifier and Type | Method and Description |
|---|---|
static GHPermissionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GHPermissionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GHPermissionType ADMIN
public static final GHPermissionType WRITE
public static final GHPermissionType READ
public static final GHPermissionType NONE
public static GHPermissionType[] values()
for (GHPermissionType c : GHPermissionType.values()) System.out.println(c);
public static GHPermissionType 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 nullCopyright © 2017. All rights reserved.