Package org.xwiki.mentions.notifications
Class MentionNotificationParameter
- java.lang.Object
-
- org.xwiki.mentions.notifications.MentionNotificationParameter
-
- All Implemented Interfaces:
Serializable
public class MentionNotificationParameter extends Object implements Serializable
Holds a mention notification parameter, composed of the reference of the mentioned actor, the unique anchor identifier of the mention in a page, and the display style of the mention.- Since:
- 12.10
- Version:
- $Id: 462f0f49d0a5c1f91f4ae3b31f0d03ce1af32189 $
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MentionNotificationParameter(String reference, String anchorId, DisplayStyle displayStyle)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getAnchorId()
DisplayStyle
getDisplayStyle()
String
getReference()
int
hashCode()
String
toString()
-
-
-
Constructor Detail
-
MentionNotificationParameter
public MentionNotificationParameter(String reference, String anchorId, DisplayStyle displayStyle)
- Parameters:
reference
- the actor referenceanchorId
- the anchor identifier of the mentiondisplayStyle
- the mention display style
-
-
Method Detail
-
getReference
public String getReference()
- Returns:
- the actor reference
-
getAnchorId
public String getAnchorId()
- Returns:
- the anchor identifier of the mention
-
getDisplayStyle
public DisplayStyle getDisplayStyle()
- Returns:
- the mention display style
-
-