com.atlassian.bitbucket.user.UserMentionScanner.UserMention |
Class Overview
Represents the location and content of a user mention in the text.
Public Methods
public
int
getEnd
()
Returns
- the end position of the user mention in the text
@Nonnull
public
String
getFullMention
()
Returns
- the full mention string, including any meta or escape characters
@Nonnull
public
String
getFullUnescapedMention
()
Returns
- the full mention string, including any meta characters, but not including escape characters
public
int
getStart
()
Returns
- the start position of the user mention in the text
@Nonnull
public
String
getUsername
()
Returns
- the
user name
of the mention string, not including any escape characters