Class CustomLayers
java.lang.Object
org.springframework.boot.loader.tools.layer.CustomLayers
Custom
Layers
implementation where layer content is selected by the user.- Since:
- 2.3.0
- Author:
- Madhura Bhave, Phillip Webb
-
Field Summary
-
Constructor Summary
ConstructorDescriptionCustomLayers
(List<Layer> layers, List<ContentSelector<String>> applicationSelectors, List<ContentSelector<Library>> librarySelectors) -
Method Summary
Modifier and TypeMethodDescriptionReturn the layer that contains the given resource name.Return the layer that contains the given library.iterator()
Return the jar layers in the order that they should be added (starting with the least frequently changed layer).stream()
Return a stream of the jar layers in the order that they should be added (starting with the least frequently changed layer).Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
CustomLayers
public CustomLayers(List<Layer> layers, List<ContentSelector<String>> applicationSelectors, List<ContentSelector<Library>> librarySelectors)
-
-
Method Details
-
iterator
Description copied from interface:Layers
Return the jar layers in the order that they should be added (starting with the least frequently changed layer). -
stream
Description copied from interface:Layers
Return a stream of the jar layers in the order that they should be added (starting with the least frequently changed layer). -
getLayer
Description copied from interface:Layers
Return the layer that contains the given resource name. -
getLayer
Description copied from interface:Layers
Return the layer that contains the given library.
-