Class ConfigurationScope
java.lang.Object
org.hibernate.search.engine.cfg.spi.ConfigurationScope
Holds a configuration scope.
It is not expected for service implementors to create the scopes.
Hibernate Search will create the scope itself, and it will pass a corresponding scope to the ConfigurationProvider
whenever it is required.
Scope always starts as the global scope.
This global scope should always be reachable through recursively accessing the parent scope,
unless the current scope is already a global scope.
An example of a scope sequence:
[namespace:global]-- scope always starts with the global scope-
[namespace:backend name:backend-name]-- next a backend scope with an optional backend named. If the name is not present, it means that scope represents a default backend. [namespace:index name:index-name]-- next is a scope specific to an index
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbooleanmatch(Predicate<ConfigurationScope> predicate) booleanbooleanmatchExact(String namespace) booleanmatchExact(String namespace, String name) name()parent()toString()