类 IncludeExcludeContentSelector<T>
java.lang.Object
org.springframework.boot.loader.tools.layer.IncludeExcludeContentSelector<T>
- 类型参数:
T
- the content type
- 所有已实现的接口:
ContentSelector<T>
- 从以下版本开始:
- 2.3.0
- 作者:
- Madhura Bhave, Phillip Webb
-
构造器概要
构造器构造器说明IncludeExcludeContentSelector
(Layer layer, List<ContentFilter<T>> includes, List<ContentFilter<T>> excludes) IncludeExcludeContentSelector
(Layer layer, List<S> includes, List<S> excludes, Function<S, ContentFilter<T>> filterFactory) -
方法概要
-
构造器详细资料
-
IncludeExcludeContentSelector
public IncludeExcludeContentSelector(Layer layer, List<ContentFilter<T>> includes, List<ContentFilter<T>> excludes) -
IncludeExcludeContentSelector
-
-
方法详细资料
-
getLayer
从接口复制的说明:ContentSelector
Return theLayer
that the selector represents.- 指定者:
getLayer
在接口中ContentSelector<T>
- 返回:
- the named layer
-
contains
从接口复制的说明:ContentSelector
Returnstrue
if the specified item is contained in this selection.- 指定者:
contains
在接口中ContentSelector<T>
- 参数:
item
- the item to test- 返回:
- if the item is contained
-