public class IssueChangedEventImpl extends Object implements IssueChangedEvent
| Constructor and Description |
|---|
IssueChangedEventImpl(Issue issue,
Optional<ApplicationUser> author,
Collection<ChangeItemBean> changeItems,
Optional<Comment> comment,
Date eventTime,
boolean sendMail) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Optional<ApplicationUser> |
getAuthor()
The user who caused the event, or
empty
representing an anonymous action. |
Optional<ChangeItemBean> |
getChangeItemForField(String fieldName)
The change of the given field in the event, if
the given
fieldName equals the name of one of the ChangeItemBean in the event
the old and the new value do not equal (don't have the same value and are not both null)
|
Collection<ChangeItemBean> |
getChangeItems()
The changes that were made to the issue
with the action that caused the event.
|
Optional<Comment> |
getComment()
The comment that was added to the issue with the change.
|
Issue |
getIssue() |
Map<String,Object> |
getParams()
A map of parameters which can be used to pass data to a Listener
|
Date |
getTime()
The time the event was created
|
int |
hashCode() |
boolean |
isSendMail() |
String |
toString() |
public IssueChangedEventImpl(@Nonnull Issue issue, @Nonnull Optional<ApplicationUser> author, @Nonnull Collection<ChangeItemBean> changeItems, @Nonnull Optional<Comment> comment, @Nonnull Date eventTime, boolean sendMail)
@Nonnull public Collection<ChangeItemBean> getChangeItems()
IssueChangedEventgetChangeItems in interface IssueChangedEvent@Nonnull public Optional<ChangeItemBean> getChangeItemForField(@Nonnull String fieldName)
IssueChangedEventfieldName equals the name of one of the ChangeItemBean in the eventgetChangeItemForField in interface IssueChangedEventfieldName - the name of the fieldpublic boolean isSendMail()
isSendMail in interface IssueChangedEvent@Nonnull public Optional<ApplicationUser> getAuthor()
IssueChangedEventempty
representing an anonymous action.getAuthor in interface IssueChangedEvent@Nonnull public Optional<Comment> getComment()
IssueChangedEventgetComment in interface IssueChangedEventpublic Issue getIssue()
getIssue in interface IssueRelatedEventpublic Date getTime()
JiraEventpublic Map<String,Object> getParams()
JiraEventCopyright © 2002-2018 Atlassian. All Rights Reserved.