Enum ActivityLifeCycleEvent.Type
- java.lang.Object
-
- java.lang.Enum<ActivityLifeCycleEvent.Type>
-
- org.exoplatform.social.core.activity.ActivityLifeCycleEvent.Type
-
- All Implemented Interfaces:
Serializable,Comparable<ActivityLifeCycleEvent.Type>
- Enclosing class:
- ActivityLifeCycleEvent
public static enum ActivityLifeCycleEvent.Type extends Enum<ActivityLifeCycleEvent.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DELETE_ACTIVITYDELETE_COMMENTHIDE_ACTIVITYLIKE_ACTIVITYLIKE_COMMENTSAVE_ACTIVITYSAVE_COMMENTSHARED_ACTIVITYUPDATE_ACTIVITYUPDATE_COMMENT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ActivityLifeCycleEvent.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static ActivityLifeCycleEvent.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SAVE_ACTIVITY
public static final ActivityLifeCycleEvent.Type SAVE_ACTIVITY
-
UPDATE_ACTIVITY
public static final ActivityLifeCycleEvent.Type UPDATE_ACTIVITY
-
SAVE_COMMENT
public static final ActivityLifeCycleEvent.Type SAVE_COMMENT
-
UPDATE_COMMENT
public static final ActivityLifeCycleEvent.Type UPDATE_COMMENT
-
LIKE_ACTIVITY
public static final ActivityLifeCycleEvent.Type LIKE_ACTIVITY
-
LIKE_COMMENT
public static final ActivityLifeCycleEvent.Type LIKE_COMMENT
-
DELETE_COMMENT
public static final ActivityLifeCycleEvent.Type DELETE_COMMENT
-
DELETE_ACTIVITY
public static final ActivityLifeCycleEvent.Type DELETE_ACTIVITY
-
SHARED_ACTIVITY
public static final ActivityLifeCycleEvent.Type SHARED_ACTIVITY
-
HIDE_ACTIVITY
public static final ActivityLifeCycleEvent.Type HIDE_ACTIVITY
-
-
Method Detail
-
values
public static ActivityLifeCycleEvent.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ActivityLifeCycleEvent.Type c : ActivityLifeCycleEvent.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ActivityLifeCycleEvent.Type valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-