com.atlassian.bamboo.comment
Class CommentImpl

java.lang.Object
  extended by com.atlassian.core.bean.EntityObject
      extended by com.atlassian.bamboo.core.BambooEntityObject
          extended by com.atlassian.bamboo.comment.CommentImpl
All Implemented Interfaces:
Comment, BambooObject, java.lang.Cloneable

public class CommentImpl
extends BambooEntityObject
implements Comment


Field Summary
 
Fields inherited from class com.atlassian.bamboo.core.BambooEntityObject
id
 
Constructor Summary
CommentImpl()
           
CommentImpl(BuildResultsSummary buildResultsSummary, java.lang.String content, java.lang.String userName, java.util.Date commentDate)
           
 
Method Summary
 BuildResultsSummary getBuildResultsSummary()
          The build result the comment was added to
 java.lang.String getContent()
          The actual comment that was added
 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 setBambooUserManager(BambooUserManager bambooUserManager)
           
 void setBuildResultsSummary(BuildResultsSummary buildResultsSummary)
           
 void setContent(java.lang.String content)
           
 void setUserName(java.lang.String userName)
           
 
Methods inherited from class com.atlassian.bamboo.core.BambooEntityObject
getId, setId
 
Methods inherited from class com.atlassian.core.bean.EntityObject
clone, equals, getCreationDate, getCurrentDate, getLastModificationDate, hashCode, setClock, setCreationDate, setLastModificationDate
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.bamboo.comment.Comment
getCreationDate, getLastModificationDate
 
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
getId, setId
 

Constructor Detail

CommentImpl

public CommentImpl()

CommentImpl

public CommentImpl(BuildResultsSummary buildResultsSummary,
                   java.lang.String content,
                   java.lang.String userName,
                   java.util.Date commentDate)
Method Detail

getContent

public java.lang.String getContent()
Description copied from interface: Comment
The actual comment that was added

Specified by:
getContent in interface Comment
Returns:

setContent

public void setContent(java.lang.String content)
Specified by:
setContent in interface Comment

getUserName

public java.lang.String getUserName()
Description copied from interface: Comment
The username of the user that created the comment

Specified by:
getUserName in interface Comment
Returns:

setUserName

public void setUserName(java.lang.String userName)
Specified by:
setUserName in interface Comment

getUser

public com.atlassian.user.User getUser()
Description copied from interface: Comment
The user that created the comment

Specified by:
getUser in interface Comment
Returns:

getBuildResultsSummary

public BuildResultsSummary getBuildResultsSummary()
Description copied from interface: Comment
The build result the comment was added to

Specified by:
getBuildResultsSummary in interface Comment
Returns:

setBuildResultsSummary

public void setBuildResultsSummary(BuildResultsSummary buildResultsSummary)
Specified by:
setBuildResultsSummary in interface Comment

setBambooUserManager

public void setBambooUserManager(BambooUserManager bambooUserManager)


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.