类的使用
org.springframework.boot.loader.tools.Layer
使用Layer的程序包
程序包
说明
Tools for generating executable JAR/WAR files.
Classes used to support layer customization.
-
org.springframework.boot.loader.tools中Layer的使用
修饰符和类型字段说明static final Layer
StandardLayers.APPLICATION
The application layer.static final Layer
StandardLayers.DEPENDENCIES
The dependencies layer.static final Layer
StandardLayers.SNAPSHOT_DEPENDENCIES
The snapshot dependencies layer.static final Layer
StandardLayers.SPRING_BOOT_LOADER
The spring boot loader layer.修饰符和类型方法说明Return the layer that contains the given resource name.Return the layer that contains the given library.返回变量类型为Layer的类型的org.springframework.boot.loader.tools中的方法修饰符和类型方法说明Layers.iterator()
Return the jar layers in the order that they should be added (starting with the least frequently changed layer).StandardLayers.iterator()
Layers.stream()
Return a stream of the jar layers in the order that they should be added (starting with the least frequently changed layer).StandardLayers.stream()
参数类型为Layer的org.springframework.boot.loader.tools中的构造器类型变量类型为Layer的org.springframework.boot.loader.tools中的构造器参数 -
org.springframework.boot.loader.tools.layer中Layer的使用
修饰符和类型方法说明ContentSelector.getLayer()
Return theLayer
that the selector represents.IncludeExcludeContentSelector.getLayer()
返回变量类型为Layer的类型的org.springframework.boot.loader.tools.layer中的方法限定符构造器说明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) 类型变量类型为Layer的org.springframework.boot.loader.tools.layer中的构造器参数限定符构造器说明CustomLayers
(List<Layer> layers, List<ContentSelector<String>> applicationSelectors, List<ContentSelector<Library>> librarySelectors)