Package org.alfresco.utility.constants
Enum ActivityType
- java.lang.Object
-
- java.lang.Enum<ActivityType>
-
- org.alfresco.utility.constants.ActivityType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ActivityType>
public enum ActivityType extends java.lang.Enum<ActivityType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMMENT_CREATEDCOMMENT_DELETEDCOMMENT_UPDATEDFILE_ADDEDFILE_CREATEDFILE_DELETEDFILE_LIKEDFILE_PREVIEWDFOLDER_ADDEDUSER_JOINEDUSER_LEFTUSER_ROLE_CHANGED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringtoString()static ActivityTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ActivityType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
USER_JOINED
public static final ActivityType USER_JOINED
-
USER_LEFT
public static final ActivityType USER_LEFT
-
USER_ROLE_CHANGED
public static final ActivityType USER_ROLE_CHANGED
-
FILE_ADDED
public static final ActivityType FILE_ADDED
-
FILE_PREVIEWD
public static final ActivityType FILE_PREVIEWD
-
FILE_DELETED
public static final ActivityType FILE_DELETED
-
FILE_CREATED
public static final ActivityType FILE_CREATED
-
FILE_LIKED
public static final ActivityType FILE_LIKED
-
FOLDER_ADDED
public static final ActivityType FOLDER_ADDED
-
COMMENT_CREATED
public static final ActivityType COMMENT_CREATED
-
COMMENT_UPDATED
public static final ActivityType COMMENT_UPDATED
-
COMMENT_DELETED
public static final ActivityType COMMENT_DELETED
-
-
Method Detail
-
values
public static ActivityType[] 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 (ActivityType c : ActivityType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ActivityType valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Enum<ActivityType>
-
-