Package com.atlassian.plugin.scope
Interface ScopeManager
Deprecated.
in 5.0 for removal in 6.0
Entry point for scope checks.
Scope key is accessible from all ScopeAware classes.
Typical users of this class are module descriptor resolvers which will expose/hide module functionality based on whenever given scope is enabled for current tenant.
For example serving JIRA Service Desk rest request would need to pass `jira-service-desk` license scope verification and if product happened not to be licensed for current tenant then rest module descriptor resolver will intercept request and return 404 instead of serving normal response by underlying plugin's rest endpoint.
Return values of this class must not be cached and underlying implementation will guarantee acceptable performance for multiple per-request invocations.
- Since:
- 4.1
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisActive(ScopeManager scopeManager, ScopeAware scopeAware) Deprecated.booleanisScopeActive(String scopeKey) Deprecated.
-
Method Details
-
isScopeActive
Deprecated.- Parameters:
scopeKey- the scope key- Returns:
- true if scope identified by scope key is active
-
isActive
Deprecated.
-