com.atlassian.bamboo.comment
Class CommentImpl
java.lang.Object
com.atlassian.core.bean.EntityObject
com.atlassian.bamboo.core.BambooEntityObject
com.atlassian.bamboo.comment.CommentImpl
- All Implemented Interfaces:
- Comment, BambooObject, java.lang.Cloneable
public class CommentImpl
- extends BambooEntityObject
- implements Comment
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 |
CommentImpl
public CommentImpl()
CommentImpl
public CommentImpl(ResultsSummary resultsSummary,
java.lang.String content,
java.lang.String userName,
java.util.Date commentDate)
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:
getResultsSummary
public ResultsSummary getResultsSummary()
- Description copied from interface:
Comment
- The build result the comment was added to
- Specified by:
getResultsSummary
in interface Comment
- Returns:
setResultsSummary
public void setResultsSummary(ResultsSummary resultsSummary)
- Specified by:
setResultsSummary
in interface Comment
getTimeSinceLastModification
public java.lang.String getTimeSinceLastModification()
- Description copied from interface:
Comment
- Time since last modification of the comment in 'UI friendly' form.
- Specified by:
getTimeSinceLastModification
in interface Comment
- Returns:
setBambooUserManager
public void setBambooUserManager(BambooUserManager bambooUserManager)
Copyright © 2010 Atlassian. All Rights Reserved.