Package com.atlassian.bamboo.comment
Interface Comment
-
- All Superinterfaces:
BambooIdProvider,BambooObject,CreationDateProvider
- All Known Implementing Classes:
CommentImpl
public interface Comment extends BambooObject, CreationDateProvider
A comment on a build result in Bamboo
-
-
Field Summary
Fields Modifier and Type Field Description static com.google.common.base.Function<Comment,Long>getEntityIdFunction that returns Comment's entityIdstatic com.google.common.collect.Ordering<Comment>orderingByMostRecentFirst-
Fields inherited from interface com.atlassian.bamboo.utils.CreationDateProvider
ORDERING
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @Nullable StringgetContent()The actual comment that was addedDategetCreationDate()The date the comment was createdlonggetEntityId()The id of object the comment was added toDategetLastModificationDate()The date the comment was last modifiedcom.atlassian.user.UsergetUser()The user that created the commentStringgetUserName()The username of the user that created the commentvoidsetContent(String content)voidsetEntityId(long entityId)voidsetUserName(String userName)-
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
-
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
-
-
-
-
Method Detail
-
getContent
@Nullable @Nullable String getContent()
The actual comment that was added
-
setContent
void setContent(String content)
-
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:
getCreationDatein 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
void setUserName(String userName)
-
-