public static enum Project.InscriptionStatus extends Enum<Project.InscriptionStatus>
Enum Constant and Description |
---|
MODERATED
Inscriptions are moderated
|
OPEN
Inscriptions are opened to anyone
|
PRIVATE
Inscriptions are private
|
Modifier and Type | Method and Description |
---|---|
static Project.InscriptionStatus |
createsFromString(String status)
Converts a string to an Inscription
|
String |
toString() |
static Project.InscriptionStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Project.InscriptionStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Project.InscriptionStatus OPEN
public static final Project.InscriptionStatus MODERATED
public static final Project.InscriptionStatus PRIVATE
public static Project.InscriptionStatus[] values()
for (Project.InscriptionStatus c : Project.InscriptionStatus.values()) System.out.println(c);
public static Project.InscriptionStatus 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 String toString()
toString
in class Enum<Project.InscriptionStatus>
public static Project.InscriptionStatus createsFromString(String status)
status
- The status to convert