com.silverpeas.notification
Enum RegisteredTopics
java.lang.Object
java.lang.Enum<RegisteredTopics>
com.silverpeas.notification.RegisteredTopics
- All Implemented Interfaces:
- Serializable, Comparable<RegisteredTopics>
public enum RegisteredTopics
- extends Enum<RegisteredTopics>
This enumeration lists all the notification topics that are registered within the Silverpeas
Notification System and for which any beans in Silverpeas can subscribe.
NODE_TOPIC
public static final RegisteredTopics NODE_TOPIC
- This topic is for notifications about an action performed on a node. A node in Silverpeas is a
way to categorize in a hierarchical way information.
ADMIN_SPACE_TOPIC
public static final RegisteredTopics ADMIN_SPACE_TOPIC
ATTACHMENT_TOPIC
public static final RegisteredTopics ATTACHMENT_TOPIC
COMMENT_TOPIC
public static final RegisteredTopics COMMENT_TOPIC
ADMIN_COMPONENT_TOPIC
public static final RegisteredTopics ADMIN_COMPONENT_TOPIC
PUBLICATION_TOPIC
public static final RegisteredTopics PUBLICATION_TOPIC
values
public static RegisteredTopics[] 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 (RegisteredTopics c : RegisteredTopics.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static RegisteredTopics 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 name
NullPointerException
- if the argument is null
getTopicName
public String getTopicName()
toString
public String toString()
- Overrides:
toString
in class Enum<RegisteredTopics>
fromName
public static RegisteredTopics fromName(String name)
Copyright © 2016 Silverpeas. All Rights Reserved.