public enum ContributorType extends Enum<ContributorType>
| Enum Constant and Description |
|---|
ADMIN |
CONTRIBUTOR |
OWNER |
| Modifier and Type | Field and Description |
|---|---|
static List<ContributorType> |
PRIORITY_ORDER |
| Modifier and Type | Method and Description |
|---|---|
static ContributorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContributorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContributorType OWNER
public static final ContributorType ADMIN
public static final ContributorType CONTRIBUTOR
public static List<ContributorType> PRIORITY_ORDER
public static ContributorType[] values()
for (ContributorType c : ContributorType.values()) System.out.println(c);
public static ContributorType 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 © 2012–2020 JBoss by Red Hat. All rights reserved.