Package com.atlassian.bitbucket.user
Interface UserMentionScanner.UserMention
- Enclosing interface:
- UserMentionScanner
public static interface UserMentionScanner.UserMention
Represents the location and content of a user mention in the text.
-
Method Details
-
getEnd
int getEnd()- Returns:
- the end position of the user mention in the text
-
getFullMention
- Returns:
- the full mention string, including any meta or escape characters
-
getFullUnescapedMention
- Returns:
- the full mention string, including any meta characters, but not including escape characters
-
getUsername
- Returns:
- the
user name
of the mention string, not including any escape characters
-
getStart
int getStart()- Returns:
- the start position of the user mention in the text
-