Package com.podio.task
Enum TaskActionType
- java.lang.Object
-
- java.lang.Enum<TaskActionType>
-
- com.podio.task.TaskActionType
-
- All Implemented Interfaces:
Serializable,Comparable<TaskActionType>
public enum TaskActionType extends Enum<TaskActionType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ASSIGNCOMPLETEINCOMPLETESTARTSTOPUPDATE_DUE_DATEUPDATE_PRIVATEUPDATE_TEXT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TaskActionTypegetByName(String value)StringtoString()static TaskActionTypevalueOf(String name)Returns the enum constant of this type with the specified name.static TaskActionType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
START
public static final TaskActionType START
-
STOP
public static final TaskActionType STOP
-
ASSIGN
public static final TaskActionType ASSIGN
-
COMPLETE
public static final TaskActionType COMPLETE
-
INCOMPLETE
public static final TaskActionType INCOMPLETE
-
UPDATE_TEXT
public static final TaskActionType UPDATE_TEXT
-
UPDATE_DUE_DATE
public static final TaskActionType UPDATE_DUE_DATE
-
UPDATE_PRIVATE
public static final TaskActionType UPDATE_PRIVATE
-
-
Method Detail
-
values
public static TaskActionType[] 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 (TaskActionType c : TaskActionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TaskActionType 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<TaskActionType>
-
getByName
public static TaskActionType getByName(String value)
-
-