public enum ProjectRole extends java.lang.Enum<ProjectRole> implements java.lang.Comparable<ProjectRole>
| Enum Constant and Description |
|---|
CUSTOMER |
MEMBER |
OPERATOR |
PROJECT_MANAGER |
| Modifier and Type | Method and Description |
|---|---|
static java.util.Optional<ProjectRole> |
forName(java.lang.String name) |
boolean |
higherThan(ProjectRole other) |
boolean |
lowerThan(ProjectRole other) |
boolean |
sameOrHigherThan(ProjectRole other) |
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 OPERATOR
public static final ProjectRole CUSTOMER
public static final ProjectRole MEMBER
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 boolean higherThan(ProjectRole other)
public boolean lowerThan(ProjectRole other)
public boolean sameOrHigherThan(ProjectRole other)
public static java.util.Optional<ProjectRole> forName(java.lang.String name)