public enum CommentAction extends Enum<CommentAction>
Enum Constant and Description |
---|
ADDED
A new
Comment has been added. |
DELETED
A
Comment has been deleted. |
EDITED
A
Comment has been edited. |
REPLIED
A
Comment has been replied to. |
Modifier and Type | Method and Description |
---|---|
static CommentAction |
fromId(int id) |
int |
getId() |
static CommentAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommentAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommentAction ADDED
Comment
has been added.public static final CommentAction DELETED
Comment
has been deleted.public static final CommentAction EDITED
Comment
has been edited.public static final CommentAction REPLIED
Comment
has been replied to.public static CommentAction[] values()
for (CommentAction c : CommentAction.values()) System.out.println(c);
public static CommentAction 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 CommentAction fromId(int id)
public int getId()
Copyright © 2019 Atlassian. All rights reserved.