Class DefaultPreferenceScopeResolver

    • Constructor Detail

      • DefaultPreferenceScopeResolver

        public DefaultPreferenceScopeResolver​(List<PreferenceScope> order)
    • Method Detail

      • resolve

        public PreferenceScope resolve​(String... scopeTypes)
        Description copied from interface: PreferenceScopeResolver
        Returns a PreferenceScope that belongs to the resolution strategy hierarchy, based on the passed types.
        Specified by:
        resolve in interface PreferenceScopeResolver
        Parameters:
        scopeTypes - Scope types associated to the desired scope.
        Returns:
        The PreferenceScope related to the passed types (if it exists, null otherwise).