@PublicApi public class NotificationFilterContext extends Object
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.Constructor and Description |
---|
NotificationFilterContext() |
Modifier and Type | Method and Description |
---|---|
Object |
get(String stateKey)
Allows you to get previously put state into this context.
|
Issue |
getIssue() |
NotificationReason |
getReason() |
Object |
put(String stateKey,
Object stateValue)
Allows you to put state into the Context.
|
public NotificationReason getReason()
public Issue getIssue()
public Object get(String stateKey)
public Object put(String stateKey, Object stateValue)
stateKey
- the key of the staTe objectstateValue
- the value of the state objectMap.put(Object, Object)
Copyright © 2002-2015 Atlassian. All Rights Reserved.