public enum ReactionContent extends Enum<ReactionContent>
GHReaction| Enum Constant and Description |
|---|
CONFUSED |
HEART |
HOORAY |
LAUGH |
MINUS_ONE |
PLUS_ONE |
| Modifier and Type | Method and Description |
|---|---|
static ReactionContent |
forContent(String content) |
String |
getContent() |
static ReactionContent |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReactionContent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReactionContent PLUS_ONE
public static final ReactionContent MINUS_ONE
public static final ReactionContent LAUGH
public static final ReactionContent CONFUSED
public static final ReactionContent HEART
public static final ReactionContent HOORAY
public static ReactionContent[] values()
for (ReactionContent c : ReactionContent.values()) System.out.println(c);
public static ReactionContent 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 getContent()
public static ReactionContent forContent(String content)
Copyright © 2017. All rights reserved.