com.atlassian.bamboo.comment
Interface Comment

All Superinterfaces:
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
 java.util.Date getLastModificationDate()
          The date the comment was last modified
 ResultsSummary getResultsSummary()
          The build result the comment was added to
 java.lang.String getTimeSinceLastModification()
          Time since last modification of the comment in 'UI friendly' form.
 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 setResultsSummary(ResultsSummary resultsSummary)
           
 void setUserName(java.lang.String userName)
           
 
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
getId, setId
 

Method Detail

getContent

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

Returns:

setContent

void setContent(java.lang.String content)

getResultsSummary

ResultsSummary getResultsSummary()
The build result the comment was added to

Returns:

setResultsSummary

void setResultsSummary(ResultsSummary resultsSummary)

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:

getTimeSinceLastModification

java.lang.String getTimeSinceLastModification()
Time since last modification of the comment in 'UI friendly' form.

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 © 2010 Atlassian. All Rights Reserved.