Enum ActivityPluginType
- java.lang.Object
-
- java.lang.Enum<ActivityPluginType>
-
- org.exoplatform.social.core.activity.model.ActivityPluginType
-
- All Implemented Interfaces:
Serializable,Comparable<ActivityPluginType>
public enum ActivityPluginType extends Enum<ActivityPluginType>
Enum of eXo activity plugin types This enum is a hack to apply customizations based on the activity plugin type. Ideally these customizations are done only by the plugins, not by the core. The existence of this class means there is a lack of pluggability.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetName()static ActivityPluginTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ActivityPluginType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT
public static final ActivityPluginType DEFAULT
-
LINK
public static final ActivityPluginType LINK
-
DOC
public static final ActivityPluginType DOC
-
SPACE
public static final ActivityPluginType SPACE
-
PROFILE
public static final ActivityPluginType PROFILE
-
FILE
public static final ActivityPluginType FILE
-
SHARE_FILE
public static final ActivityPluginType SHARE_FILE
-
CONTENT
public static final ActivityPluginType CONTENT
-
CALENDAR
public static final ActivityPluginType CALENDAR
-
TASK
public static final ActivityPluginType TASK
-
FORUM
public static final ActivityPluginType FORUM
-
ANSWER
public static final ActivityPluginType ANSWER
-
POLL
public static final ActivityPluginType POLL
-
WIKI
public static final ActivityPluginType WIKI
-
-
Method Detail
-
values
public static ActivityPluginType[] 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 (ActivityPluginType c : ActivityPluginType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ActivityPluginType 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
-
getName
public String getName()
-
-