@PublicSpi public abstract class AbstractWebCondition extends Object implements com.atlassian.plugin.web.Condition
Condition
s 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.Condition
com.atlassian.plugin.PluginParseException
public boolean shouldDisplay(Map<String,Object> context)
shouldDisplay
in interface com.atlassian.plugin.web.Condition
public abstract boolean shouldDisplay(ApplicationUser user, JiraHelper jiraHelper)
Copyright © 2002-2015 Atlassian. All Rights Reserved.