Package | Description |
---|---|
org.springframework.boot.loader.tools |
Tools for generating executable JAR/WAR files.
|
org.springframework.boot.loader.tools.layer |
Classes used to support layer customization.
|
Modifier and Type | Field and Description |
---|---|
static Layer |
StandardLayers.APPLICATION
The application layer.
|
static Layer |
StandardLayers.DEPENDENCIES
The dependencies layer.
|
static Layer |
StandardLayers.SNAPSHOT_DEPENDENCIES
The snapshot dependencies layer.
|
static Layer |
StandardLayers.SPRING_BOOT_LOADER
The spring boot loader layer.
|
Modifier and Type | Method and Description |
---|---|
Layer |
Layers.getLayer(Library library)
Return the layer that contains the given library.
|
Layer |
Layers.getLayer(String applicationResource)
Return the layer that contains the given resource name.
|
Modifier and Type | Method and Description |
---|---|
Iterator<Layer> |
StandardLayers.iterator() |
Iterator<Layer> |
Layers.iterator()
Return the jar layers in the order that they should be added (starting with the
least frequently changed layer).
|
Stream<Layer> |
StandardLayers.stream() |
Stream<Layer> |
Layers.stream()
Return a stream of the jar layers in the order that they should be added (starting
with the least frequently changed layer).
|
Modifier and Type | Method and Description |
---|---|
void |
LayersIndex.add(Layer layer,
String name)
Add an item to the index.
|
Constructor and Description |
---|
LayersIndex(Layer... layers)
Create a new
LayersIndex backed by the given layers. |
Constructor and Description |
---|
LayersIndex(Iterable<Layer> layers)
Create a new
LayersIndex backed by the given layers. |
Modifier and Type | Method and Description |
---|---|
Layer |
IncludeExcludeContentSelector.getLayer() |
Layer |
ContentSelector.getLayer()
Return the
Layer that the selector represents. |
Layer |
CustomLayers.getLayer(Library library) |
Layer |
CustomLayers.getLayer(String resourceName) |
Modifier and Type | Method and Description |
---|---|
Iterator<Layer> |
CustomLayers.iterator() |
Stream<Layer> |
CustomLayers.stream() |
Constructor and Description |
---|
IncludeExcludeContentSelector(Layer layer,
List<ContentFilter<T>> includes,
List<ContentFilter<T>> excludes) |
IncludeExcludeContentSelector(Layer layer,
List<S> includes,
List<S> excludes,
Function<S,ContentFilter<T>> filterFactory) |
Constructor and Description |
---|
CustomLayers(List<Layer> layers,
List<ContentSelector<String>> applicationSelectors,
List<ContentSelector<Library>> librarySelectors) |