public enum ProjectRole extends java.lang.Enum<ProjectRole>
| Enum Constant and Description |
|---|
CUSTOMER |
LEAD |
MEMBER |
PROJECT_MANAGER |
| Modifier and Type | Method and Description |
|---|---|
static java.util.Optional<ProjectRole> |
forName(java.lang.String name) |
int |
getRoleLevel() |
static ProjectRole |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProjectRole[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProjectRole CUSTOMER
public static final ProjectRole MEMBER
public static final ProjectRole LEAD
public static final ProjectRole PROJECT_MANAGER
public static ProjectRole[] values()
for (ProjectRole c : ProjectRole.values()) System.out.println(c);
public static ProjectRole 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 int getRoleLevel()
public static java.util.Optional<ProjectRole> forName(java.lang.String name)