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