public static enum TaskDTO.StatusEnum extends Enum<TaskDTO.StatusEnum>
Enum Constant and Description |
---|
APPROVED |
IN_PROGRESS |
NOT_STARTED |
NOT_TO_BE_DONE |
REJECTED |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static TaskDTO.StatusEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TaskDTO.StatusEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaskDTO.StatusEnum NOT_STARTED
public static final TaskDTO.StatusEnum IN_PROGRESS
public static final TaskDTO.StatusEnum APPROVED
public static final TaskDTO.StatusEnum REJECTED
public static final TaskDTO.StatusEnum NOT_TO_BE_DONE
public static TaskDTO.StatusEnum[] values()
for (TaskDTO.StatusEnum c : TaskDTO.StatusEnum.values()) System.out.println(c);
public static TaskDTO.StatusEnum 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<TaskDTO.StatusEnum>
Copyright © 2019 DocDoku. All rights reserved.