public static final class Directives.Builder
extends java.lang.Object
Directives.| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
Directives |
build()
Builds an instance of
Directives. |
Directives.Builder |
withInheritSlot(java.lang.String inheritSlot)
Sets the signal to control, if the slot is to be inherited to the
dependencies if not specified by a dependency otherwise.
|
Directives.Builder |
withSkip(java.lang.String skip)
Sets the flag to skip the export of the module.
|
public Directives.Builder withSkip(java.lang.String skip)
skip - the flag to skip the export of the module.public Directives.Builder withInheritSlot(java.lang.String inheritSlot)
false, the default slot will be used instead of the module's
slot.
Useful to create extensions that have to reside in the main slot but have to depend on modules in another slot.
inheritSlot - the signal to control, if the slot is to be inherited
to the dependencies if not specified by a dependency otherwise.public Directives build()
Directives.