Package com.podio.notification
Enum NotificationType
- java.lang.Object
-
- java.lang.Enum<NotificationType>
-
- com.podio.notification.NotificationType
-
- All Implemented Interfaces:
Serializable,Comparable<NotificationType>
public enum NotificationType extends Enum<NotificationType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALERTThe user was alerted as part of an actionANSWERA question was answeredBATCH_COMPLETEThe batch was completedBATCH_PROCESSThe batch is processingBULLETINA news item was received from HoistCOMMENTA comment was added to an objectCREATIONAn object was createdDELETEAn object was deletedFILEA file was attached to an objectMEMBER_ENDED_ADMINThe user left the spaceMEMBER_ENDED_USERThe admin ended the users space membershipMEMBER_REFERENCE_ADDThe user was added as a reference on an itemMEMBER_REFERENCE_REMOVEThe user was removed as a reference on an itemMESSAGEA message was received from a conversationRATINGA rating was added to an objectREMINDERA reminderROLE_CHANGEThe role of the user was changed on a spaceRSVPAn item was created on an app with RSVP enabledSPACE_ACCEPTThe user accepted an invitation to join the spaceSPACE_DECLINEThe user declined an invitation to join the spaceSPACE_INVITEThe user was invited to join a spaceUPDATEAn object was updated
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NotificationTypegetByName(String value)StringtoString()static NotificationTypevalueOf(String name)Returns the enum constant of this type with the specified name.static NotificationType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALERT
public static final NotificationType ALERT
The user was alerted as part of an action
-
COMMENT
public static final NotificationType COMMENT
A comment was added to an object
-
FILE
public static final NotificationType FILE
A file was attached to an object
-
MEMBER_REFERENCE_ADD
public static final NotificationType MEMBER_REFERENCE_ADD
The user was added as a reference on an item
-
MEMBER_REFERENCE_REMOVE
public static final NotificationType MEMBER_REFERENCE_REMOVE
The user was removed as a reference on an item
-
RATING
public static final NotificationType RATING
A rating was added to an object
-
SPACE_INVITE
public static final NotificationType SPACE_INVITE
The user was invited to join a space
-
SPACE_ACCEPT
public static final NotificationType SPACE_ACCEPT
The user accepted an invitation to join the space
-
SPACE_DECLINE
public static final NotificationType SPACE_DECLINE
The user declined an invitation to join the space
-
MEMBER_ENDED_USER
public static final NotificationType MEMBER_ENDED_USER
The admin ended the users space membership
-
MEMBER_ENDED_ADMIN
public static final NotificationType MEMBER_ENDED_ADMIN
The user left the space
-
ROLE_CHANGE
public static final NotificationType ROLE_CHANGE
The role of the user was changed on a space
-
CREATION
public static final NotificationType CREATION
An object was created
-
UPDATE
public static final NotificationType UPDATE
An object was updated
-
DELETE
public static final NotificationType DELETE
An object was deleted
-
MESSAGE
public static final NotificationType MESSAGE
A message was received from a conversation
-
BULLETIN
public static final NotificationType BULLETIN
A news item was received from Hoist
-
RSVP
public static final NotificationType RSVP
An item was created on an app with RSVP enabled
-
ANSWER
public static final NotificationType ANSWER
A question was answered
-
REMINDER
public static final NotificationType REMINDER
A reminder
-
BATCH_PROCESS
public static final NotificationType BATCH_PROCESS
The batch is processing
-
BATCH_COMPLETE
public static final NotificationType BATCH_COMPLETE
The batch was completed
-
-
Method Detail
-
values
public static NotificationType[] 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 (NotificationType c : NotificationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NotificationType 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
-
toString
public String toString()
- Overrides:
toStringin classEnum<NotificationType>
-
getByName
public static NotificationType getByName(String value)
-
-