public final class ModuleDependencySpec extends DependencySpec
Modifier and Type | Field | Description |
---|---|---|
static ModuleDependencySpec |
JAVA_BASE |
A simple dependency on the
java.base module. |
static ModuleDependencySpec |
JAVA_SE |
A simple dependency on the
java.se module. |
OWN_DEPENDENCY
Modifier and Type | Method | Description |
---|---|---|
ModuleIdentifier |
getIdentifier() |
Deprecated.
Use
#getName() instead. |
ModuleLoader |
getModuleLoader() |
Get the module loader of this dependency, or
null if the defined module's loader is to be used. |
String |
getName() |
Get the module name of the dependency.
|
boolean |
isOptional() |
Determine whether this dependency is optional.
|
String |
toString() |
createClassLoaderDependencySpec, createClassLoaderDependencySpec, createClassLoaderDependencySpec, createLocalDependencySpec, createLocalDependencySpec, createLocalDependencySpec, createLocalDependencySpec, createLocalDependencySpec, createLocalDependencySpec, createLocalDependencySpec, createModuleDependencySpec, createModuleDependencySpec, createModuleDependencySpec, createModuleDependencySpec, createModuleDependencySpec, createModuleDependencySpec, createModuleDependencySpec, createModuleDependencySpec, createModuleDependencySpec, createModuleDependencySpec, createModuleDependencySpec, createModuleDependencySpec, createModuleDependencySpec, createModuleDependencySpec, createModuleDependencySpec, createModuleDependencySpec, createModuleDependencySpec, createModuleDependencySpec, createSystemDependencySpec, createSystemDependencySpec, createSystemDependencySpec, getClassExportFilter, getClassImportFilter, getExportFilter, getImportFilter, getResourceExportFilter, getResourceImportFilter
public static final ModuleDependencySpec JAVA_BASE
java.base
module.public static final ModuleDependencySpec JAVA_SE
java.se
module.public ModuleLoader getModuleLoader()
null
if the defined module's loader is to be used.@Deprecated public ModuleIdentifier getIdentifier()
#getName()
instead.public String getName()
public boolean isOptional()
true
if the dependency is optional, false
if it is requiredCopyright © 2022 JBoss by Red Hat. All rights reserved.