|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.jira.issue.util.DefaultIssueChangeHolder
public class DefaultIssueChangeHolder
Default implementation of a change holder.
| Constructor Summary | |
|---|---|
DefaultIssueChangeHolder()
|
|
| Method Summary | |
|---|---|
void |
addChangeItem(ChangeItemBean changeItemBean)
Convenience method for adding a single ChangeItemBean to the list of change items. |
void |
addChangeItems(List<ChangeItemBean> changeItems)
Add the provided list of change items to the current change items. |
boolean |
equals(Object o)
|
List<ChangeItemBean> |
getChangeItems()
Get all the change items registered with this object. |
Comment |
getComment()
Get the comment associated with this group of changes. |
int |
hashCode()
|
boolean |
isSubtasksUpdated()
Returns true if any subtasks of this issue where updated and therefore need to be re-indexed. |
void |
setChangeItems(List<ChangeItemBean> changeItems)
Set the change items of this object to the provided param. |
void |
setComment(Comment comment)
Set the comment associated with this change. |
void |
setSubtasksUpdated(boolean subtasksUpdated)
Sets whether or not subtasks have been updated. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultIssueChangeHolder()
| Method Detail |
|---|
public List<ChangeItemBean> getChangeItems()
IssueChangeHolder
getChangeItems in interface IssueChangeHolderpublic void setChangeItems(List<ChangeItemBean> changeItems)
IssueChangeHolder
setChangeItems in interface IssueChangeHolderchangeItems - to set on this objectpublic void addChangeItems(List<ChangeItemBean> changeItems)
IssueChangeHolder
addChangeItems in interface IssueChangeHolderchangeItems - to add to this objects change itemspublic void addChangeItem(ChangeItemBean changeItemBean)
IssueChangeHolder
addChangeItem in interface IssueChangeHolderchangeItemBean - the changeItemBean to addpublic void setComment(Comment comment)
IssueChangeHolder
setComment in interface IssueChangeHoldercomment - the Commentpublic Comment getComment()
IssueChangeHolder
getComment in interface IssueChangeHolderComment that represents the comment for this group of changes.public boolean isSubtasksUpdated()
IssueChangeHolder
isSubtasksUpdated in interface IssueChangeHolderpublic void setSubtasksUpdated(boolean subtasksUpdated)
IssueChangeHolder
setSubtasksUpdated in interface IssueChangeHoldersubtasksUpdated - true if this issue's subtasks have been updated.public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||