public static enum Contributor.Role extends java.lang.Enum<Contributor.Role>
This enumeration is used to denote whether a contributor is an author or a tester (Author), or an approver (Approver).
| Modifier and Type | Method and Description |
|---|---|
static Contributor.Role |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Contributor.Role[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Contributor.Role Author
public static final Contributor.Role Approver
public static Contributor.Role[] values()
public static Contributor.Role valueOf(java.lang.String name)
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namejava.lang.NullPointerException - if the argument is nullname - the name of the enum constant to be returned.© Copyright IBM Corp. 1987, 2017