Class IncludeExcludeContentSelector<T>

java.lang.Object
org.springframework.boot.loader.tools.layer.IncludeExcludeContentSelector<T>
Type Parameters:
T - the content type
All Implemented Interfaces:
ContentSelector<T>

public class IncludeExcludeContentSelector<T> extends Object implements ContentSelector<T>
ContentSelector backed by include/exclude filters.
Since:
2.3.0
Author:
Madhura Bhave, Phillip Webb
  • Constructor Details

  • Method Details

    • getLayer

      public Layer getLayer()
      Description copied from interface: ContentSelector
      Return the Layer that the selector represents.
      Specified by:
      getLayer in interface ContentSelector<T>
      Returns:
      the named layer
    • contains

      public boolean contains(T item)
      Description copied from interface: ContentSelector
      Returns true if the specified item is contained in this selection.
      Specified by:
      contains in interface ContentSelector<T>
      Parameters:
      item - the item to test
      Returns:
      if the item is contained