类 LayeredSpec.IntoLayerSpec
java.lang.Object
org.springframework.boot.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 newIntoLayerSpec
that will control the content of the given layer. -
方法概要
-
构造器详细资料
-
IntoLayerSpec
Creates a newIntoLayerSpec
that 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
-