public static enum Notification.Reason extends java.lang.Enum<Notification.Reason>
Enum Constant and Description |
---|
Assigned |
Commented |
FileAttached |
IssueCreated |
IssueUpdated |
Other |
ProjectUserAdded |
PullRequestAdded |
PullRequestAssigned |
PullRequestCommented |
PullRequestUpdated |
Undefined |
Modifier and Type | Method and Description |
---|---|
int |
getIntValue() |
static Notification.Reason |
valueOf(int anIntValue) |
static Notification.Reason |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Notification.Reason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Notification.Reason Undefined
public static final Notification.Reason Assigned
public static final Notification.Reason Commented
public static final Notification.Reason IssueCreated
public static final Notification.Reason IssueUpdated
public static final Notification.Reason FileAttached
public static final Notification.Reason ProjectUserAdded
public static final Notification.Reason Other
public static final Notification.Reason PullRequestAssigned
public static final Notification.Reason PullRequestCommented
public static final Notification.Reason PullRequestAdded
public static final Notification.Reason PullRequestUpdated
public static Notification.Reason[] values()
for (Notification.Reason c : Notification.Reason.values()) System.out.println(c);
public static Notification.Reason 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 int getIntValue()
public static Notification.Reason valueOf(int anIntValue)