@Deprecated public interface ScopeAware
Intention of scope is to mark plugin or set of plugins as belonging to subset of product functionality which could be turned on/off in one go.
Given interface could be used in conjunction with ScopeManager
which will take care about validating scope for current tenant.
Making plugin scope aware is done via adding <scope> element:
<plugin-info><scope key = "/license/jira-service-desk"/></plugin-info>
once configured plugin itself and all modules will have that scope assigned.
Modules can opt out from scope by specifying `scope` attribute:
ScopeManager| Modifier and Type | Method and Description |
|---|---|
default Optional<String> |
getScopeKey()
Deprecated.
|
default Optional<String> getScopeKey()
Optional.empty() if not definedCopyright © 2019 Atlassian. All rights reserved.