Package com.podio.task
Enum TaskDueStatus
- java.lang.Object
-
- java.lang.Enum<TaskDueStatus>
-
- com.podio.task.TaskDueStatus
-
- All Implemented Interfaces:
Serializable,Comparable<TaskDueStatus>
public enum TaskDueStatus extends Enum<TaskDueStatus>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TaskDueStatusgetByName(String value)StringtoString()static TaskDueStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static TaskDueStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OVERDUE
public static final TaskDueStatus OVERDUE
-
TODAY
public static final TaskDueStatus TODAY
-
TOMORROW
public static final TaskDueStatus TOMORROW
-
UPCOMING
public static final TaskDueStatus UPCOMING
-
-
Method Detail
-
values
public static TaskDueStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TaskDueStatus c : TaskDueStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TaskDueStatus valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
toString
public String toString()
- Overrides:
toStringin classEnum<TaskDueStatus>
-
getByName
public static TaskDueStatus getByName(String value)
-
-