@ExperimentalSpi public abstract class AbstractFixedPermissionCondition extends AbstractWebCondition
Modifier and Type | Field and Description |
---|---|
protected GlobalPermissionKey |
permission |
protected GlobalPermissionManager |
permissionManager |
Constructor and Description |
---|
AbstractFixedPermissionCondition(GlobalPermissionManager permissionManager,
GlobalPermissionKey globalPermissionKey) |
Modifier and Type | Method and Description |
---|---|
void |
init(Map<String,String> params) |
boolean |
shouldDisplay(ApplicationUser user,
JiraHelper jiraHelper) |
shouldDisplay
protected final GlobalPermissionManager permissionManager
protected final GlobalPermissionKey permission
public AbstractFixedPermissionCondition(GlobalPermissionManager permissionManager, GlobalPermissionKey globalPermissionKey)
public final void init(Map<String,String> params) throws com.atlassian.plugin.PluginParseException
init
in interface com.atlassian.plugin.web.Condition
init
in class AbstractWebCondition
com.atlassian.plugin.PluginParseException
public final boolean shouldDisplay(ApplicationUser user, JiraHelper jiraHelper)
shouldDisplay
in class AbstractWebCondition
Copyright © 2002-2019 Atlassian. All Rights Reserved.