public class IsLoggedInUrlReadingCondition
extends com.atlassian.plugin.webresource.condition.SimpleUrlReadingCondition
condition
implementation provides the same functionality as
IsLoggedInCondition
and must be used instead, since use of
non-URL-reading conditions
is deprecated in <web-resource>
and <client-resource>
modules.
IsLoggedInCondition
can still be used in web fragment modules, like <web-item>
s.IsLoggedInCondition
Constructor and Description |
---|
IsLoggedInUrlReadingCondition(com.atlassian.bitbucket.auth.AuthenticationContext authenticationContext) |
Modifier and Type | Method and Description |
---|---|
void |
init(Map<String,String> params) |
protected boolean |
isConditionTrue() |
protected String |
queryKey() |
public IsLoggedInUrlReadingCondition(com.atlassian.bitbucket.auth.AuthenticationContext authenticationContext)
public void init(Map<String,String> params) throws com.atlassian.plugin.PluginParseException
init
in interface com.atlassian.plugin.webresource.condition.UrlReadingCondition
init
in class com.atlassian.plugin.webresource.condition.SimpleUrlReadingCondition
com.atlassian.plugin.PluginParseException
protected boolean isConditionTrue()
isConditionTrue
in class com.atlassian.plugin.webresource.condition.SimpleUrlReadingCondition
protected String queryKey()
queryKey
in class com.atlassian.plugin.webresource.condition.SimpleUrlReadingCondition
Copyright © 2021 Atlassian. All rights reserved.