public static class LayeredSpec.IntoLayerSpec extends Object implements Serializable
Constructor and Description |
---|
IntoLayerSpec(String intoLayer)
Creates a new
IntoLayerSpec that will control the content of the given
layer. |
Modifier and Type | Method and Description |
---|---|
void |
exclude(String... patterns)
Adds patterns that control the content that is excluded from the layer.
|
void |
include(String... patterns)
Adds patterns that control the content that is included in the layer.
|
public IntoLayerSpec(String intoLayer)
IntoLayerSpec
that will control the content of the given
layer.intoLayer
- the layerpublic void include(String... patterns)
patterns
- the patterns to be includedpublic void exclude(String... patterns)
patterns
- the patterns to be excluded