public enum ProjectStatus extends Enum<ProjectStatus>
| Enum Constant and Description |
|---|
CLOSED |
INPROGRESS |
| Modifier and Type | Method and Description |
|---|---|
static ProjectStatus |
fromValue(String value) |
String |
getValue() |
String |
toString() |
static ProjectStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProjectStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProjectStatus INPROGRESS
public static final ProjectStatus CLOSED
public static ProjectStatus[] values()
for (ProjectStatus c : ProjectStatus.values()) System.out.println(c);
public static ProjectStatus 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 getValue()
public String toString()
toString in class Enum<ProjectStatus>public static ProjectStatus fromValue(String value)
Copyright © 2020. All rights reserved.