@ProviderType
public interface ObserverConfiguration
ObserverConfiguration are comparable using the
 Object.equals(Object) method. Two configurations are equal, if they
 have exactly the same parameters.
 A resource provider implementation observation must support sending remove
 events as explained in ResourceChangeListener.
 If an observer configuration contains a pattern or is limited to a sub tree,
 removal events not matching the pattern or removing events of parents of
 that sub tree must be provided to the listener nevertheless - if the
 listener is interested in resource remove events.| Modifier and Type | Method and Description | 
|---|---|
java.util.Set<ResourceChange.ChangeType> | 
getChangeTypes()
The set of types listeners are interested in. 
 | 
PathSet | 
getExcludedPaths()
The set of excluded paths. 
 | 
PathSet | 
getPaths()
The set of paths this listener is interested in. 
 | 
java.util.Set<java.lang.String> | 
getPropertyNamesHint()
Set containing the set of property names which
 serves as an optional hint for the underlying to
 only report property changes enlisted, ie the
 underlying might ignore this. 
 | 
boolean | 
includeExternal()
true if a listener is interested in external events. | 
boolean | 
matches(java.lang.String path)
Checks whether a path matches one of the paths of this configuration
 but is not in the excluded paths set. 
 | 
boolean includeExternal()
true if a listener is interested in external events.true if a listener is interested in external events.@Nonnull PathSet getPaths()
@Nonnull PathSet getExcludedPaths()
getPaths()@Nonnull java.util.Set<ResourceChange.ChangeType> getChangeTypes()
@Nonnull java.util.Set<java.lang.String> getPropertyNamesHint()
nullboolean matches(java.lang.String path)
path - The path to checktrue if the path matches the configuration.Copyright © 2018 The Apache Software Foundation. All rights reserved.