public class DefaultIssueChangeHolder extends Object implements IssueChangeHolder
Constructor and Description |
---|
DefaultIssueChangeHolder() |
Modifier and Type | Method and Description |
---|---|
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.
|
public List<ChangeItemBean> getChangeItems()
IssueChangeHolder
getChangeItems
in interface IssueChangeHolder
public void setChangeItems(List<ChangeItemBean> changeItems)
IssueChangeHolder
setChangeItems
in interface IssueChangeHolder
changeItems
- to set on this objectpublic void addChangeItems(List<ChangeItemBean> changeItems)
IssueChangeHolder
addChangeItems
in interface IssueChangeHolder
changeItems
- to add to this objects change itemspublic void addChangeItem(ChangeItemBean changeItemBean)
IssueChangeHolder
addChangeItem
in interface IssueChangeHolder
changeItemBean
- the changeItemBean to addpublic void setComment(Comment comment)
IssueChangeHolder
setComment
in interface IssueChangeHolder
comment
- the Commentpublic Comment getComment()
IssueChangeHolder
getComment
in interface IssueChangeHolder
Comment
that represents the comment for this group of changes.public boolean isSubtasksUpdated()
IssueChangeHolder
isSubtasksUpdated
in interface IssueChangeHolder
public void setSubtasksUpdated(boolean subtasksUpdated)
IssueChangeHolder
setSubtasksUpdated
in interface IssueChangeHolder
subtasksUpdated
- true if this issue's subtasks have been updated.Copyright © 2002-2024 Atlassian. All Rights Reserved.