WhitelistService
and
OutboundWhitelist
. Since v6.1.@PublicApi @Deprecated public interface WhitelistService
Modifier and Type | Interface and Description |
---|---|
static class |
WhitelistService.WhitelistResult
Deprecated.
|
static class |
WhitelistService.WhitelistUpdateValidationResult
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
WhitelistService.WhitelistResult |
getRules(JiraServiceContext context)
Deprecated.
Replaced by
WhitelistService.getAll() . Since v6.1. |
boolean |
isAllowed(URI uri)
Deprecated.
Replaced by
Whitelist.isAllowed(java.net.URI) . Since v6.1. |
boolean |
isDisabled()
Deprecated.
Replaced by
WhitelistService.isWhitelistEnabled() . Since v6.1. |
WhitelistService.WhitelistResult |
updateRules(WhitelistService.WhitelistUpdateValidationResult result)
Deprecated.
Replaced by
WhitelistService.add(com.atlassian.plugins.whitelist.WhitelistRule) ,
WhitelistService.remove(int) ,
WhitelistService.disableWhitelist() and
WhitelistService.enableWhitelist() . Since v6.1. |
WhitelistService.WhitelistUpdateValidationResult |
validateUpdateRules(JiraServiceContext context,
List<String> rules,
boolean disabled)
Deprecated.
Replaced by
WhitelistService.add(com.atlassian.plugins.whitelist.WhitelistRule) ,
WhitelistService.remove(int) ,
WhitelistService.disableWhitelist() and
WhitelistService.enableWhitelist() . Since v6.1. |
@Deprecated WhitelistService.WhitelistResult getRules(JiraServiceContext context)
WhitelistService.getAll()
. Since v6.1.context
- The service context with the current user & error collection@Deprecated WhitelistService.WhitelistUpdateValidationResult validateUpdateRules(JiraServiceContext context, List<String> rules, boolean disabled)
WhitelistService.add(com.atlassian.plugins.whitelist.WhitelistRule)
,
WhitelistService.remove(int)
,
WhitelistService.disableWhitelist()
and
WhitelistService.enableWhitelist()
. Since v6.1.context
- The service context with the current user & error collectionrules
- List of rule stringsdisabled
- true if the whitelist should be turned off@Deprecated WhitelistService.WhitelistResult updateRules(WhitelistService.WhitelistUpdateValidationResult result)
WhitelistService.add(com.atlassian.plugins.whitelist.WhitelistRule)
,
WhitelistService.remove(int)
,
WhitelistService.disableWhitelist()
and
WhitelistService.enableWhitelist()
. Since v6.1.validateUpdateRules(com.atlassian.jira.bc.JiraServiceContext,
java.util.List, boolean)
and persists the new rules.result
- a validation result obtained by calling validateUpdateRules(com.atlassian.jira.bc.JiraServiceContext,
java.util.List, boolean)
@Deprecated boolean isDisabled()
WhitelistService.isWhitelistEnabled()
. Since v6.1.@Deprecated boolean isAllowed(URI uri)
Whitelist.isAllowed(java.net.URI)
. Since v6.1.uri
- The uri a http request is made toCopyright © 2002-2019 Atlassian. All Rights Reserved.