Package org.jboss.as.controller.registry
Interface ResourceFilter
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ResourceFilter
A resource filter.- Author:
- Emanuel Muckenhuber
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
accepts(PathAddress address, Resource resource)
Test whether the resource should be included or not.
-
-
-
Method Detail
-
accepts
boolean accepts(PathAddress address, Resource resource)
Test whether the resource should be included or not.- Parameters:
address
- the resource addressresource
- the resource- Returns:
true
when to include the resource
-
-