@PublicSpi public abstract class AbstractWebCondition extends Object implements com.atlassian.plugin.web.Condition
Conditions that are aware of JIRA's
authentication and project- or issue-related contexts. These can be
used in action configurations to guard conditionally displayed content.| Constructor and Description |
|---|
AbstractWebCondition() |
| Modifier and Type | Method and Description |
|---|---|
void |
init(Map<String,String> params) |
abstract boolean |
shouldDisplay(ApplicationUser user,
JiraHelper jiraHelper) |
boolean |
shouldDisplay(Map<String,Object> context) |
public void init(Map<String,String> params) throws com.atlassian.plugin.PluginParseException
init in interface com.atlassian.plugin.web.Conditioncom.atlassian.plugin.PluginParseExceptionpublic boolean shouldDisplay(Map<String,Object> context)
shouldDisplay in interface com.atlassian.plugin.web.Conditionpublic abstract boolean shouldDisplay(ApplicationUser user, JiraHelper jiraHelper)
Copyright © 2002-2019 Atlassian. All Rights Reserved.