Package com.atlassian.jira.notification
Class NotificationFilterContext
java.lang.Object
com.atlassian.jira.notification.NotificationFilterContext
- Direct Known Subclasses:
IssueEventNotificationFilterContext
A context object is passed to each
NotificationFilter
instance. It tells you
why the notification is being sent. It also allows state to be associated with it to help out each plugin.- Since:
- 6.0
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NotificationFilterContext
public NotificationFilterContext()
-
-
Method Details
-
getReason
-
getIssue
-
get
Allows you to get previously put state into this context.- Returns:
- the value of the state object
-
put
Allows you to put state into the Context.- Parameters:
stateKey
- the key of the staTe objectstateValue
- the value of the state object- Returns:
- the previs value eg
Map.put(Object, Object)
-