public static enum QnaEvent.QnaActions extends java.lang.Enum<QnaEvent.QnaActions> implements SocialEvent.SocialActions
Enum Constant and Description |
---|
ANSWER_CREATED |
ANSWER_DELETED |
ANSWER_EDITED |
ANSWER_SELECTED |
ANSWER_UNSELECTED |
QUESTION_CREATED |
QUESTION_DELETED |
QUESTION_EDITED |
Modifier and Type | Method and Description |
---|---|
static java.util.List<java.lang.String> |
getAvailableActions() |
java.lang.String |
getVerb()
Get the
Verbs |
static QnaEvent.QnaActions |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static QnaEvent.QnaActions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QnaEvent.QnaActions QUESTION_CREATED
public static final QnaEvent.QnaActions QUESTION_EDITED
public static final QnaEvent.QnaActions QUESTION_DELETED
public static final QnaEvent.QnaActions ANSWER_SELECTED
public static final QnaEvent.QnaActions ANSWER_UNSELECTED
public static final QnaEvent.QnaActions ANSWER_CREATED
public static final QnaEvent.QnaActions ANSWER_EDITED
public static final QnaEvent.QnaActions ANSWER_DELETED
public static QnaEvent.QnaActions[] values()
for (QnaEvent.QnaActions c : QnaEvent.QnaActions.values()) System.out.println(c);
public static QnaEvent.QnaActions 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 static java.util.List<java.lang.String> getAvailableActions()
public java.lang.String getVerb()
SocialEvent.SocialActions
Verbs
getVerb
in interface SocialEvent.SocialActions
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"