public final class DependenciesDescriptor extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DependenciesDescriptor.Builder
Builds instances of
DependenciesDescriptor. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Boolean |
getExport()
Returns the export attribute for the dependency.
|
String |
getExportsXml()
Returns the XML fragment specifying exports for the dependency.
|
String |
getImportsXml()
Returns the XML fragment specifying imports for the dependency.
|
ModuleMatcher |
getMatcher()
Returns the matcher to match modules by their name.
|
Boolean |
getOptional()
Returns the optional attribute for the dependency.
|
String |
getServices()
Returns the services attribute for the dependency.
|
Boolean |
getSkip()
Returns if the dependency should be skipped.
|
String |
getSlot()
Returns the slot of the dependency.
|
int |
hashCode() |
boolean |
matches(String name)
Checks if the matcher of this descriptor matches with the given module
name.
|
String |
toString() |
public ModuleMatcher getMatcher()
public String getSlot()
public Boolean getSkip()
public Boolean getExport()
public String getServices()
public Boolean getOptional()
public String getImportsXml()
public String getExportsXml()
public boolean matches(String name)
name - the module name to match.true on a match, false otherwise.public String toString()
Provides the properties via reflection for displaying debug information.
Copyright © 2013–2019 FuseSource. All rights reserved.