Interface Layers
- All Known Implementing Classes:
- CustomLayers,- StandardLayers
Interface to provide information about layers to the 
Repackager.- Since:
- 2.3.0
- See Also:
- 
Field SummaryFields
- 
Method SummaryModifier 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 interface java.lang.IterableforEach, spliterator
- 
Field Details- 
IMPLICITThe default layer resolver.
 
- 
- 
Method Details- 
iteratorReturn the jar layers in the order that they should be added (starting with the least frequently changed layer).
- 
streamReturn a stream of the jar layers in the order that they should be added (starting with the least frequently changed layer).- Returns:
- the layers stream
 
- 
getLayerReturn the layer that contains the given resource name.- Parameters:
- applicationResource- the name of an application resource (for example a- .classfile).
- Returns:
- the layer that contains the resource (must never be null)
 
- 
getLayerReturn the layer that contains the given library.- Parameters:
- library- the library to consider
- Returns:
- the layer that contains the resource (must never be null)
 
 
-