接口 Layers
- 所有已知实现类:
CustomLayers
,StandardLayers
Interface to provide information about layers to the
Repackager
.- 从以下版本开始:
- 2.3.0
- 作者:
- Madhura Bhave, Phillip Webb
- 另请参阅:
-
字段概要
字段 -
方法概要
修饰符和类型方法说明Return 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).从接口继承的方法 java.lang.Iterable
forEach, spliterator
-
字段详细资料
-
IMPLICIT
The default layer resolver.
-
-
方法详细资料
-
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).- 返回:
- the layers stream
-
getLayer
Return the layer that contains the given resource name.- 参数:
applicationResource
- the name of an application resource (for example a.class
file).- 返回:
- the layer that contains the resource (must never be
null
)
-
getLayer
Return the layer that contains the given library.- 参数:
library
- the library to consider- 返回:
- the layer that contains the resource (must never be
null
)
-