Interface Comment
- All Superinterfaces:
WithId
- All Known Subinterfaces:
MutableComment
- All Known Implementing Classes:
CommentImpl,MockComment
Represents a Comment on a JIRA
Issue-
Field Summary
Fields inherited from interface com.atlassian.jira.entity.WithId
ID_COMPARATOR -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Returns theuserthat created the commentDeprecated.UsegetAuthorKey()orgetAuthorApplicationUser()instead.Deprecated.UsegetAuthorApplicationUser()instead.getBody()Returns the name of the group to which comment visibility will be restrictedgetId()getIssue()Deprecated.UsegetUpdateAuthorApplicationUser()instead.Get the user that performed the updateDeprecated.UsegetUpdateAuthorApplicationUser()instead.
-
Method Details
-
getAuthor
String getAuthor()Deprecated.UsegetAuthorKey()orgetAuthorApplicationUser()instead. Since v6.0.Returns the key for the user that created the comment- Returns:
- the key for the user that created the comment
-
getAuthorKey
String getAuthorKey()Deprecated.UsegetAuthorKey()orgetAuthorApplicationUser()instead. Since v6.0.Returns the key for the user that created the comment- Returns:
- the key for the user that created the comment
-
getAuthorUser
ApplicationUser getAuthorUser()Deprecated.UsegetAuthorApplicationUser()instead. Since v6.0.Returns theUserthat created the comment- Returns:
- the
Userthat created the comment.
-
getAuthorApplicationUser
ApplicationUser getAuthorApplicationUser()Returns theuserthat created the comment- Returns:
- the
userthat created the comment
-
getAuthorFullName
String getAuthorFullName() -
getBody
String getBody() -
getCreated
Date getCreated() -
getGroupLevel
String getGroupLevel()Returns the name of the group to which comment visibility will be restricted- Returns:
- the name of the group to which comment visibility will be restricted.
-
getId
Long getId() -
getRoleLevelId
Long getRoleLevelId() -
getRoleLevel
ProjectRole getRoleLevel() -
getIssue
Issue getIssue() -
getUpdateAuthor
String getUpdateAuthor()Deprecated.UsegetUpdateAuthorApplicationUser()instead. Since v6.0.- Returns:
- userkey of the update author
-
getUpdateAuthorUser
ApplicationUser getUpdateAuthorUser()Deprecated.UsegetUpdateAuthorApplicationUser()instead. Since v6.0.Get the user that performed the update
- Returns:
- a
Userobject
-
getUpdateAuthorApplicationUser
ApplicationUser getUpdateAuthorApplicationUser()Get the user that performed the update- Returns:
- an
object
-
getUpdateAuthorFullName
String getUpdateAuthorFullName() -
getUpdated
Date getUpdated()
-
getAuthorKey()orgetAuthorApplicationUser()instead.