@Unstable public class MentionEventParams extends Object
Constructor and Description |
---|
MentionEventParams() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getAnchor() |
String |
getDocumentReference() |
MentionLocation |
getLocation() |
String |
getQuote() |
String |
getUserReference() |
int |
hashCode() |
MentionEventParams |
setAnchor(String anchor) |
MentionEventParams |
setDocumentReference(String documentReference) |
MentionEventParams |
setLocation(MentionLocation location) |
MentionEventParams |
setQuote(String quote) |
MentionEventParams |
setUserReference(String userReference) |
String |
toString() |
public String getUserReference()
public MentionEventParams setUserReference(String userReference)
userReference
- the user doing the mentionpublic String getDocumentReference()
public MentionEventParams setDocumentReference(String documentReference)
documentReference
- the document in which then mention occurspublic MentionLocation getLocation()
public MentionEventParams setLocation(MentionLocation location)
location
- the location of the mentionpublic String getAnchor()
public MentionEventParams setAnchor(String anchor)
anchor
- the anchor to be used to link to the mentionpublic String getQuote()
public MentionEventParams setQuote(String quote)
quote
- the mention quoteCopyright © 2004–2022 XWiki. All rights reserved.