Package org.apache.sling.discovery
Interface InstanceFilter
-
public interface InstanceFilter
Used to filter InstanceDescriptions in a TopologyView.- See Also:
DiscoveryService#findInstances(InstanceFilter)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
accept(InstanceDescription instance)
Returns true if this InstanceFilter selects the given InstanceDescription.
-
-
-
Method Detail
-
accept
boolean accept(InstanceDescription instance)
Returns true if this InstanceFilter selects the given InstanceDescription.- Parameters:
instance
- the InstanceDescription for which to decide if this InstanceFilter accepts it or not.- Returns:
- true if this InstanceFilter selects the given InstanceDescription
-
-