Constructor and Description |
---|
CustomLayers(java.util.List<Layer> layers,
java.util.List<ContentSelector<java.lang.String>> applicationSelectors,
java.util.List<ContentSelector<Library>> librarySelectors) |
Modifier and Type | Method and Description |
---|---|
Layer |
getLayer(Library library)
Return the layer that contains the given library.
|
Layer |
getLayer(java.lang.String resourceName)
Return the layer that contains the given resource name.
|
java.util.Iterator<Layer> |
iterator()
Return the jar layers in the order that they should be added (starting with the
least frequently changed layer).
|
java.util.stream.Stream<Layer> |
stream()
Return a stream of the jar layers in the order that they should be added (starting
with the least frequently changed layer).
|
public CustomLayers(java.util.List<Layer> layers, java.util.List<ContentSelector<java.lang.String>> applicationSelectors, java.util.List<ContentSelector<Library>> librarySelectors)
public java.util.Iterator<Layer> iterator()
Layers
public java.util.stream.Stream<Layer> stream()
Layers
public Layer getLayer(java.lang.String resourceName)
Layers