类 LayeredSpec.IntoLayerSpec

java.lang.Object
org.springframework.boot.gradle.tasks.bundling.LayeredSpec.IntoLayerSpec
所有已实现的接口:
Serializable
直接已知子类:
LayeredSpec.DependenciesIntoLayerSpec
封闭类:
LayeredSpec

public static class LayeredSpec.IntoLayerSpec extends Object implements Serializable
Spec that controls the content that should be part of a particular layer.
另请参阅:
  • 构造器详细资料

    • IntoLayerSpec

      public IntoLayerSpec(String intoLayer)
      Creates a new IntoLayerSpec that will control the content of the given layer.
      参数:
      intoLayer - the layer
  • 方法详细资料

    • include

      public void include(String... patterns)
      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

      public void exclude(String... patterns)
      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