类 CustomLayers

java.lang.Object
org.springframework.boot.loader.tools.layer.CustomLayers
所有已实现的接口:
Iterable<Layer>, Layers

public class CustomLayers extends Object implements Layers
Custom Layers implementation where layer content is selected by the user.
从以下版本开始:
2.3.0
作者:
Madhura Bhave, Phillip Webb
  • 构造器详细资料

  • 方法详细资料

    • iterator

      public Iterator<Layer> iterator()
      从接口复制的说明: Layers
      Return the jar layers in the order that they should be added (starting with the least frequently changed layer).
      指定者:
      iterator 在接口中 Iterable<Layer>
      指定者:
      iterator 在接口中 Layers
      返回:
      the layers iterator
    • stream

      public Stream<Layer> stream()
      从接口复制的说明: Layers
      Return a stream of the jar layers in the order that they should be added (starting with the least frequently changed layer).
      指定者:
      stream 在接口中 Layers
      返回:
      the layers stream
    • getLayer

      public Layer getLayer(String resourceName)
      从接口复制的说明: Layers
      Return the layer that contains the given resource name.
      指定者:
      getLayer 在接口中 Layers
      参数:
      resourceName - the name of an application resource (for example a .class file).
      返回:
      the layer that contains the resource (must never be null)
    • getLayer

      public Layer getLayer(Library library)
      从接口复制的说明: Layers
      Return the layer that contains the given library.
      指定者:
      getLayer 在接口中 Layers
      参数:
      library - the library to consider
      返回:
      the layer that contains the resource (must never be null)