Package com.atlassian.bamboo.comment
Interface Comment
- All Superinterfaces:
BambooIdProvider
,BambooObject
,CreationDateProvider
- All Known Implementing Classes:
CommentImpl
A comment on a build result in Bamboo
-
Field Summary
Modifier and TypeFieldDescriptionFunction that returns Comment's entityIdstatic final Comparator<Comment>
Fields inherited from interface com.atlassian.bamboo.utils.CreationDateProvider
ORDERING
-
Method Summary
Modifier and TypeMethodDescription@Nullable String
The actual comment that was addedThe date the comment was createdlong
The id of object the comment was added toThe date the comment was last modifiedcom.atlassian.user.User
getUser()
The user that created the commentThe username of the user that created the commentvoid
setContent
(String content) void
setEntityId
(long entityId) void
setUserName
(String userName) Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
-
Field Details
-
getEntityId
Function that returns Comment's entityId -
orderingByMostRecentFirst
-
-
Method Details
-
getContent
The actual comment that was added -
setContent
-
getEntityId
long getEntityId()The id of object the comment was added to -
setEntityId
void setEntityId(long entityId) -
getLastModificationDate
Date getLastModificationDate()The date the comment was last modified- Returns:
-
getCreationDate
Date getCreationDate()The date the comment was created- Specified by:
getCreationDate
in interfaceCreationDateProvider
- Returns:
-
getUser
com.atlassian.user.User getUser()The user that created the comment- Returns:
-
getUserName
String getUserName()The username of the user that created the comment- Returns:
-
setUserName
-