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