Class WorkbenchPreferenceScopeResolutionStrategy

  • All Implemented Interfaces:
    org.uberfire.preferences.shared.PreferenceScopeResolutionStrategy

    @Dependent
    public class WorkbenchPreferenceScopeResolutionStrategy
    extends Object
    implements org.uberfire.preferences.shared.PreferenceScopeResolutionStrategy
    The Workbench scope resolution strategy can be composed by a sequence of two (user and global) or three ("component", user, global). The "component" scope represents some workbench component (e.g. project).
    • Constructor Detail

      • WorkbenchPreferenceScopeResolutionStrategy

        public WorkbenchPreferenceScopeResolutionStrategy()
      • WorkbenchPreferenceScopeResolutionStrategy

        @Inject
        public WorkbenchPreferenceScopeResolutionStrategy​(org.uberfire.preferences.shared.PreferenceScopeFactory scopeFactory)
      • WorkbenchPreferenceScopeResolutionStrategy

        public WorkbenchPreferenceScopeResolutionStrategy​(org.uberfire.preferences.shared.PreferenceScopeFactory scopeFactory,
                                                          org.uberfire.preferences.shared.PreferenceScope... scopes)
    • Method Detail

      • getInfo

        public org.uberfire.preferences.shared.impl.PreferenceScopeResolutionStrategyInfo getInfo()
        Specified by:
        getInfo in interface org.uberfire.preferences.shared.PreferenceScopeResolutionStrategy
      • getScopeResolver

        public org.uberfire.preferences.shared.PreferenceScopeResolver getScopeResolver()
        Specified by:
        getScopeResolver in interface org.uberfire.preferences.shared.PreferenceScopeResolutionStrategy
      • getDefaultScope

        public org.uberfire.preferences.shared.PreferenceScope getDefaultScope​(List<org.uberfire.preferences.shared.PreferenceScope> order)