public interface Comment extends BambooObject, CreationDateProvider
Modifier and Type | Field and Description |
---|---|
static com.google.common.base.Function<Comment,Long> |
getEntityId
Function that returns Comment's entityId
|
static com.google.common.collect.Ordering<Comment> |
orderingByMostRecentFirst |
ORDERING
Modifier and Type | Method and Description |
---|---|
String |
getContent()
The actual comment that was added
|
Date |
getCreationDate()
The date the comment was created
|
long |
getEntityId()
The id of object the comment was added to
|
Date |
getLastModificationDate()
The date the comment was last modified
|
com.atlassian.user.User |
getUser()
The user that created the comment
|
String |
getUserName()
The username of the user that created the comment
|
void |
setContent(String content) |
void |
setEntityId(long entityId) |
void |
setUserName(String userName) |
setId
getId
static final com.google.common.base.Function<Comment,Long> getEntityId
static final com.google.common.collect.Ordering<Comment> orderingByMostRecentFirst
@Nullable String getContent()
void setContent(String content)
long getEntityId()
void setEntityId(long entityId)
Date getLastModificationDate()
Date getCreationDate()
getCreationDate
in interface CreationDateProvider
com.atlassian.user.User getUser()
String getUserName()
void setUserName(String userName)
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.