Class LibraryContentFilter

java.lang.Object
org.springframework.boot.loader.tools.layer.LibraryContentFilter
All Implemented Interfaces:
ContentFilter<Library>

public class LibraryContentFilter extends Object implements ContentFilter<Library>
ContentFilter that matches Library items based on a coordinates pattern.
Since:
2.3.0
Author:
Madhura Bhave, Scott Frederick, Phillip Webb
  • Constructor Details

    • LibraryContentFilter

      public LibraryContentFilter(String coordinatesPattern)
  • Method Details

    • matches

      public boolean matches(Library library)
      Description copied from interface: ContentFilter
      Return if the filter matches the specified item.
      Specified by:
      matches in interface ContentFilter<Library>
      Parameters:
      library - the item to test
      Returns:
      if the filter matches