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