com.atlassian.bamboo.comment
Interface Comment

All Superinterfaces:
BambooIdProvider, BambooObject
All Known Implementing Classes:
CommentImpl

public interface Comment
extends BambooObject

A comment on a build result in Bamboo


Method Summary
 java.lang.String getContent()
          The actual comment that was added
 java.util.Date getCreationDate()
          The date the comment was created
 long getEntityId()
          The id of object the comment was added to
 java.util.Date getLastModificationDate()
          The date the comment was last modified
 ResultsSummary getResultsSummary()
          Deprecated. since 5.0 use com.atlassian.bamboo.resultsummary.ResultsSummaryManager.getResultsSummary(getEntityId()) The build result the comment was added to
 com.atlassian.user.User getUser()
          The user that created the comment
 java.lang.String getUserName()
          The username of the user that created the comment
 void setContent(java.lang.String content)
           
 void setEntityId(long entityId)
           
 void setResultsSummary(ResultsSummary resultsSummary)
          Deprecated. since 5.0 use setEntityId(resultSummary.getId())
 void setUserName(java.lang.String userName)
           
 
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
 
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
 

Method Detail

getContent

java.lang.String getContent()
The actual comment that was added

Returns:

setContent

void setContent(java.lang.String content)

getResultsSummary

@Deprecated
ResultsSummary getResultsSummary()
Deprecated. since 5.0 use com.atlassian.bamboo.resultsummary.ResultsSummaryManager.getResultsSummary(getEntityId()) The build result the comment was added to

Returns:

setResultsSummary

@Deprecated
void setResultsSummary(ResultsSummary resultsSummary)
Deprecated. since 5.0 use setEntityId(resultSummary.getId())


getEntityId

long getEntityId()
The id of object the comment was added to


setEntityId

void setEntityId(long entityId)

getLastModificationDate

java.util.Date getLastModificationDate()
The date the comment was last modified

Returns:

getCreationDate

java.util.Date getCreationDate()
The date the comment was created

Returns:

getUser

com.atlassian.user.User getUser()
The user that created the comment

Returns:

getUserName

java.lang.String getUserName()
The username of the user that created the comment

Returns:

setUserName

void setUserName(java.lang.String userName)


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.