类 IncludeExcludeContentSelector<T>

java.lang.Object
org.springframework.boot.loader.tools.layer.IncludeExcludeContentSelector<T>
类型参数:
T - the content type
所有已实现的接口:
ContentSelector<T>

public class IncludeExcludeContentSelector<T> extends Object implements ContentSelector<T>
ContentSelector backed by include/exclude filters.
从以下版本开始:
2.3.0
作者:
Madhura Bhave, Phillip Webb
  • 构造器详细资料

  • 方法详细资料

    • getLayer

      public Layer getLayer()
      从接口复制的说明: ContentSelector
      Return the Layer that the selector represents.
      指定者:
      getLayer 在接口中 ContentSelector<T>
      返回:
      the named layer
    • contains

      public boolean contains(T item)
      从接口复制的说明: ContentSelector
      Returns true if the specified item is contained in this selection.
      指定者:
      contains 在接口中 ContentSelector<T>
      参数:
      item - the item to test
      返回:
      if the item is contained