public enum CrowdSourcingRole extends Enum<CrowdSourcingRole> implements Serializable
| Enum Constant and Description |
|---|
Approver
Actor that declares the definition should be used.
|
Other
Another role.
|
Proposer
Actor that creates the initial version.
|
Reviewer
Actor that provided feedback.
|
Supporter
Actor that agrees with the definition.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Return the description for the enum.
|
String |
getName()
Return the descriptive name for the CrowdSourcingRole enum instance
|
int |
getOrdinal()
Return the numerical value for the enum.
|
static CrowdSourcingRole |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CrowdSourcingRole[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CrowdSourcingRole Proposer
public static final CrowdSourcingRole Reviewer
public static final CrowdSourcingRole Supporter
public static final CrowdSourcingRole Approver
public static final CrowdSourcingRole Other
public static CrowdSourcingRole[] values()
for (CrowdSourcingRole c : CrowdSourcingRole.values()) System.out.println(c);
public static CrowdSourcingRole 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 nullpublic int getOrdinal()
public String getDescription()
public String getName()
Copyright © 2018 ODPi. All rights reserved.