public static enum Constants.TargetType extends 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(String value) |
String |
toString() |
String |
toValue() |
static Constants.TargetType |
valueOf(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(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.TargetType forValue(String value)
public String toValue()
public String toString()
toString in class Enum<Constants.TargetType>Copyright © 2021. All rights reserved.