Constructor and Description |
---|
CustomLayers(List<Layer> layers,
List<ContentSelector<String>> applicationSelectors,
List<ContentSelector<Library>> librarySelectors) |
Modifier and Type | Method and Description |
---|---|
Layer |
getLayer(Library library)
Return the layer that contains the given library.
|
Layer |
getLayer(String resourceName)
Return the layer that contains the given resource name.
|
Iterator<Layer> |
iterator()
Return the jar layers in the order that they should be added (starting with the
least frequently changed layer).
|
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).
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public CustomLayers(List<Layer> layers, List<ContentSelector<String>> applicationSelectors, List<ContentSelector<Library>> librarySelectors)
public Iterator<Layer> iterator()
Layers
public Stream<Layer> stream()
Layers
public Layer getLayer(String resourceName)
Layers