public final class Directives
extends java.lang.Object
module descriptor.
Directives control the building process of a single module.| Modifier and Type | Class and Description |
|---|---|
static class |
Directives.Builder
Builds instances of
Directives. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Boolean |
getInheritSlot()
Returns the signal to control, if the slot is to be inherited to the
dependencies if not specified by a dependency otherwise.
|
java.lang.Boolean |
getSkip()
Returns the flag to skip the export of the module.
|
void |
merge(Directives directives)
Merges the given directive with this instance.
|
java.lang.String |
toString() |
public java.lang.Boolean getSkip()
public java.lang.Boolean getInheritSlot()
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.
public void merge(Directives directives)
directives - the instance to merge into this instance.public java.lang.String toString()
toString in class java.lang.Object