Package org.gitlab4j.api
Enum Constants.TodoAction
- java.lang.Object
-
- java.lang.Enum<Constants.TodoAction>
-
- org.gitlab4j.api.Constants.TodoAction
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<Constants.TodoAction>
- Enclosing interface:
- Constants
public static enum Constants.TodoAction extends java.lang.Enum<Constants.TodoAction>
Enum to use for specifying the action when doing a getTodos() with the TodosApi.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description APPROVAL_REQUIRED
ASSIGNED
BUILD_FAILED
DIRECTLY_ADDRESSED
MARKED
MENTIONED
UNMERGEABLE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Constants.TodoAction
forValue(java.lang.String value)
java.lang.String
toString()
java.lang.String
toValue()
static Constants.TodoAction
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static Constants.TodoAction[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ASSIGNED
public static final Constants.TodoAction ASSIGNED
-
MENTIONED
public static final Constants.TodoAction MENTIONED
-
BUILD_FAILED
public static final Constants.TodoAction BUILD_FAILED
-
MARKED
public static final Constants.TodoAction MARKED
-
APPROVAL_REQUIRED
public static final Constants.TodoAction APPROVAL_REQUIRED
-
UNMERGEABLE
public static final Constants.TodoAction UNMERGEABLE
-
DIRECTLY_ADDRESSED
public static final Constants.TodoAction DIRECTLY_ADDRESSED
-
-
Method Detail
-
values
public static Constants.TodoAction[] 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 (Constants.TodoAction c : Constants.TodoAction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Constants.TodoAction valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
forValue
public static Constants.TodoAction forValue(java.lang.String value)
-
toValue
public java.lang.String toValue()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<Constants.TodoAction>
-
-