类 LayeredSpec.IntoLayerSpec
java.lang.Object
cn.taketoday.gradle.tasks.bundling.LayeredSpec.IntoLayerSpec
- 所有已实现的接口:
Serializable
- 封闭类:
- LayeredSpec
Spec that controls the content that should be part of a particular layer.
- 另请参阅:
-
字段概要
字段 -
构造器概要
构造器构造器说明IntoLayerSpec(String intoLayer) Creates a newIntoLayerSpecthat will control the content of the given layer. -
方法概要
修饰符和类型方法说明(专用程序包) <T> cn.taketoday.app.loader.tools.layer.ContentSelector<T>asSelector(Function<String, cn.taketoday.app.loader.tools.layer.ContentFilter<T>> filterFactory) voidAdds patterns that control the content that is excluded from the layer.(专用程序包) StringvoidAdds patterns that control the content that is included in the layer.
-
字段详细资料
-
intoLayer
-
includes
-
excludes
-
-
构造器详细资料
-
IntoLayerSpec
Creates a newIntoLayerSpecthat will control the content of the given layer.- 参数:
intoLayer- the layer
-
-
方法详细资料
-
include
Adds patterns that control the content that is included in the layer. If no includes are specified then all content is included. If includes are specified then content must match an inclusion and not match any exclusions to be included.- 参数:
patterns- the patterns to be included
-
exclude
Adds patterns that control the content that is excluded from the layer. If no excludes a specified no content is excluded. If exclusions are specified then any content that matches an exclusion will be excluded irrespective of whether it matches an include.- 参数:
patterns- the patterns to be excluded
-
asSelector
-
getIntoLayer
String getIntoLayer() -
getIncludes
-
getExcludes
-