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

    Modifier and Type
    Method
    Description
    boolean
    accepts(PathAddress address, Resource resource)
    Test whether the resource should be included or not.
  • Method Details

    • accepts

      boolean accepts(PathAddress address, Resource resource)
      Test whether the resource should be included or not.
      Parameters:
      address - the resource address
      resource - the resource
      Returns:
      true when to include the resource