public final class DependenciesDescriptor
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DependenciesDescriptor.Builder
Builds instances of
DependenciesDescriptor. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Boolean |
getExport()
Returns the export attribute for the dependency.
|
java.lang.String |
getExportsXml()
Returns the XML fragment specifying exports for the dependency.
|
java.lang.String |
getImportsXml()
Returns the XML fragment specifying imports for the dependency.
|
ModuleMatcher |
getMatcher()
Returns the matcher to match modules by their name.
|
java.lang.Boolean |
getOptional()
Returns the optional attribute for the dependency.
|
java.lang.String |
getServices()
Returns the services attribute for the dependency.
|
java.lang.String |
getSlot()
Returns the slot of the dependency.
|
boolean |
matches(java.lang.String name)
Checks if the matcher of this descriptor matches with the given module
name.
|
java.lang.String |
toString() |
public ModuleMatcher getMatcher()
public java.lang.String getSlot()
public java.lang.Boolean getExport()
public java.lang.String getServices()
public java.lang.Boolean getOptional()
public java.lang.String getImportsXml()
public java.lang.String getExportsXml()
public boolean matches(java.lang.String name)
name - the module name to match.true on a match, false otherwise.public java.lang.String toString()
Provides the properties via reflection for displaying debug information.
toString in class java.lang.Object