public static enum GHTeam.Role extends Enum<GHTeam.Role>
| Enum Constant and Description |
|---|
MAINTAINER
Able to add/remove other team members, promote other team members to team maintainer, and edit the team's name and description.
|
MEMBER
A normal member of the team
|
| Modifier and Type | Method and Description |
|---|---|
static GHTeam.Role |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GHTeam.Role[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GHTeam.Role MEMBER
public static final GHTeam.Role MAINTAINER
public static GHTeam.Role[] values()
for (GHTeam.Role c : GHTeam.Role.values()) System.out.println(c);
public static GHTeam.Role 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 © 2018. All rights reserved.