public static enum Constants.TargetType extends java.lang.Enum<Constants.TargetType>
| Enum Constant and Description |
|---|
ISSUE |
MERGE_REQUEST |
MILESTONE |
NOTE |
PROJECT |
SNIPPET |
USER |
| Modifier and Type | Method and Description |
|---|---|
static Constants.TargetType |
forValue(java.lang.String value) |
java.lang.String |
toString() |
java.lang.String |
toValue() |
static Constants.TargetType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Constants.TargetType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.TargetType ISSUE
public static final Constants.TargetType MILESTONE
public static final Constants.TargetType MERGE_REQUEST
public static final Constants.TargetType NOTE
public static final Constants.TargetType PROJECT
public static final Constants.TargetType SNIPPET
public static final Constants.TargetType USER
public static Constants.TargetType[] values()
for (Constants.TargetType c : Constants.TargetType.values()) System.out.println(c);
public static Constants.TargetType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static Constants.TargetType forValue(java.lang.String value)
public java.lang.String toValue()
public java.lang.String toString()
toString in class java.lang.Enum<Constants.TargetType>