Interface ScopeAware

All Known Subinterfaces:
ContainerManagedPlugin, ModuleDescriptor<T>, Plugin
All Known Implementing Classes:
DummyPlugin

@Deprecated public interface ScopeAware
Deprecated.
in 5.0 for removal in 6.0
Makes class scope aware.

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:

 <rest key="key" name="name" scoped="false" ... />"
 
Since:
4.1
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    default Optional<String>
    Deprecated.