Interface AllAwareConfigurationPropertySource
-
- All Superinterfaces:
ConfigurationPropertySource
public interface AllAwareConfigurationPropertySource extends ConfigurationPropertySource
A source of property values for Hibernate Search with knowledge of the full set of properties.Implementations provide, on top of the usual key lookup, a way to retrieve all keys with a given prefix, which allows checking that all property keys were consumed, in particular.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static AllAwareConfigurationPropertySource
fromMap(Map<String,?> map)
Set<String>
resolveAll(BiPredicate<String,Object> predicate)
static AllAwareConfigurationPropertySource
system()
-
Methods inherited from interface org.hibernate.search.engine.cfg.ConfigurationPropertySource
get, resolve, withFallback, withMask, withOverride, withPrefix
-
-
-
-
Method Detail
-
resolveAll
Set<String> resolveAll(BiPredicate<String,Object> predicate)
-
fromMap
static AllAwareConfigurationPropertySource fromMap(Map<String,?> map)
-
system
static AllAwareConfigurationPropertySource system()
- Returns:
- A source containing the system properties (
System.getProperty(String)
).
-
-