ModuleDependencySpecpublic abstract class DependencySpec extends Object
| Modifier and Type | Field | Description |
|---|---|---|
static DependencySpec |
OWN_DEPENDENCY |
A constant dependency which always represents a module's own content.
|
| Modifier and Type | Method | Description |
|---|---|---|
static DependencySpec |
createClassLoaderDependencySpec(ClassLoader classLoader,
Set<String> loaderPaths) |
Deprecated.
Use
LocalDependencySpecBuilder instead. |
static DependencySpec |
createClassLoaderDependencySpec(ClassLoader classLoader,
Set<String> loaderPaths,
boolean export) |
Deprecated.
Use
LocalDependencySpecBuilder instead. |
static DependencySpec |
createClassLoaderDependencySpec(PathFilter importFilter,
PathFilter exportFilter,
ClassLoader classLoader,
Set<String> loaderPaths) |
Deprecated.
Use
LocalDependencySpecBuilder instead. |
static DependencySpec |
createLocalDependencySpec() |
Create a dependency on the current module's local resources.
|
static DependencySpec |
createLocalDependencySpec(PathFilter importFilter,
PathFilter exportFilter) |
Deprecated.
Use
LocalDependencySpecBuilder instead. |
static DependencySpec |
createLocalDependencySpec(PathFilter importFilter,
PathFilter exportFilter,
PathFilter resourceImportFilter,
PathFilter resourceExportFilter,
ClassFilter classImportFilter,
ClassFilter classExportFilter) |
Deprecated.
Use
LocalDependencySpecBuilder instead. |
static DependencySpec |
createLocalDependencySpec(PathFilter importFilter,
PathFilter exportFilter,
PathFilter resourceImportFilter,
PathFilter resourceExportFilter,
ClassFilter classImportFilter,
ClassFilter classExportFilter,
LocalLoader localLoader,
Set<String> loaderPaths) |
Deprecated.
Use
LocalDependencySpecBuilder instead. |
static DependencySpec |
createLocalDependencySpec(PathFilter importFilter,
PathFilter exportFilter,
LocalLoader localLoader,
Set<String> loaderPaths) |
Deprecated.
Use
LocalDependencySpecBuilder instead. |
static DependencySpec |
createLocalDependencySpec(LocalLoader localLoader,
Set<String> loaderPaths) |
Deprecated.
Use
LocalDependencySpecBuilder instead. |
static DependencySpec |
createLocalDependencySpec(LocalLoader localLoader,
Set<String> loaderPaths,
boolean export) |
Deprecated.
Use
LocalDependencySpecBuilder instead. |
static DependencySpec |
createModuleDependencySpec(String name) |
Deprecated.
Use
ModuleDependencySpecBuilder instead. |
static DependencySpec |
createModuleDependencySpec(String name,
boolean export) |
Deprecated.
Use
ModuleDependencySpecBuilder instead. |
static DependencySpec |
createModuleDependencySpec(String name,
boolean export,
boolean optional) |
Deprecated.
Use
ModuleDependencySpecBuilder instead. |
static DependencySpec |
createModuleDependencySpec(PathFilter exportFilter,
String name,
boolean optional) |
Deprecated.
Use
ModuleDependencySpecBuilder instead. |
static DependencySpec |
createModuleDependencySpec(PathFilter importFilter,
PathFilter exportFilter,
PathFilter resourceImportFilter,
PathFilter resourceExportFilter,
ClassFilter classImportFilter,
ClassFilter classExportFilter,
ModuleLoader moduleLoader,
String name,
boolean optional) |
Deprecated.
Use
ModuleDependencySpecBuilder instead. |
static DependencySpec |
createModuleDependencySpec(PathFilter importFilter,
PathFilter exportFilter,
PathFilter resourceImportFilter,
PathFilter resourceExportFilter,
ClassFilter classImportFilter,
ClassFilter classExportFilter,
ModuleLoader moduleLoader,
ModuleIdentifier identifier,
boolean optional) |
Deprecated.
Use
ModuleDependencySpecBuilder instead. |
static DependencySpec |
createModuleDependencySpec(PathFilter importFilter,
PathFilter exportFilter,
ModuleLoader moduleLoader,
String name,
boolean optional) |
Deprecated.
Use
ModuleDependencySpecBuilder instead. |
static DependencySpec |
createModuleDependencySpec(PathFilter importFilter,
PathFilter exportFilter,
ModuleLoader moduleLoader,
ModuleIdentifier identifier,
boolean optional) |
Deprecated.
Use
ModuleDependencySpecBuilder instead. |
static DependencySpec |
createModuleDependencySpec(PathFilter exportFilter,
ModuleIdentifier identifier,
boolean optional) |
Deprecated.
Use
ModuleDependencySpecBuilder instead. |
static DependencySpec |
createModuleDependencySpec(PathFilter exportFilter,
ModuleLoader moduleLoader,
String name,
boolean optional) |
Deprecated.
Use
ModuleDependencySpecBuilder instead. |
static DependencySpec |
createModuleDependencySpec(PathFilter exportFilter,
ModuleLoader moduleLoader,
ModuleIdentifier identifier,
boolean optional) |
Deprecated.
Use
ModuleDependencySpecBuilder instead. |
static DependencySpec |
createModuleDependencySpec(ModuleIdentifier identifier) |
Deprecated.
Use
ModuleDependencySpecBuilder instead. |
static DependencySpec |
createModuleDependencySpec(ModuleIdentifier identifier,
boolean export) |
Deprecated.
Use
ModuleDependencySpecBuilder instead. |
static DependencySpec |
createModuleDependencySpec(ModuleIdentifier identifier,
boolean export,
boolean optional) |
Deprecated.
Use
ModuleDependencySpecBuilder instead. |
static DependencySpec |
createModuleDependencySpec(ModuleLoader moduleLoader,
String name,
boolean export) |
Deprecated.
Use
ModuleDependencySpecBuilder instead. |
static DependencySpec |
createModuleDependencySpec(ModuleLoader moduleLoader,
String name,
boolean export,
boolean optional) |
Deprecated.
Use
ModuleDependencySpecBuilder instead. |
static DependencySpec |
createModuleDependencySpec(ModuleLoader moduleLoader,
ModuleIdentifier identifier,
boolean export) |
Deprecated.
Use
ModuleDependencySpecBuilder instead. |
static DependencySpec |
createModuleDependencySpec(ModuleLoader moduleLoader,
ModuleIdentifier identifier,
boolean export,
boolean optional) |
Deprecated.
Use
ModuleDependencySpecBuilder instead. |
static DependencySpec |
createSystemDependencySpec(Set<String> loaderPaths) |
Create a system dependency.
|
static DependencySpec |
createSystemDependencySpec(Set<String> loaderPaths,
boolean export) |
Create a system dependency.
|
static DependencySpec |
createSystemDependencySpec(PathFilter importFilter,
PathFilter exportFilter,
Set<String> loaderPaths) |
Create a system dependency.
|
ClassFilter |
getClassExportFilter() |
Get the dependency class export filter.
|
ClassFilter |
getClassImportFilter() |
Get the dependency class import filter.
|
PathFilter |
getExportFilter() |
Get the dependency export filter.
|
PathFilter |
getImportFilter() |
Get the dependency import filter.
|
PathFilter |
getResourceExportFilter() |
Get the dependency resource export filter.
|
PathFilter |
getResourceImportFilter() |
Get the dependency resource import filter.
|
public static final DependencySpec OWN_DEPENDENCY
public PathFilter getImportFilter()
public PathFilter getExportFilter()
public PathFilter getResourceImportFilter()
public PathFilter getResourceExportFilter()
public ClassFilter getClassImportFilter()
public ClassFilter getClassExportFilter()
public static DependencySpec createLocalDependencySpec()
OWN_DEPENDENCY.@Deprecated public static DependencySpec createLocalDependencySpec(PathFilter importFilter, PathFilter exportFilter)
LocalDependencySpecBuilder instead.importFilter - the import filter to applyexportFilter - the export filter to apply@Deprecated public static DependencySpec createLocalDependencySpec(PathFilter importFilter, PathFilter exportFilter, PathFilter resourceImportFilter, PathFilter resourceExportFilter, ClassFilter classImportFilter, ClassFilter classExportFilter)
LocalDependencySpecBuilder instead.importFilter - the import filter to applyexportFilter - the export filter to applyresourceImportFilter - the resource import filter to applyresourceExportFilter - the resource export filter to applyclassImportFilter - the class import filter to applyclassExportFilter - the class export filter to applypublic static DependencySpec createSystemDependencySpec(Set<String> loaderPaths)
loaderPaths - the set of paths to use from the system class loaderpublic static DependencySpec createSystemDependencySpec(Set<String> loaderPaths, boolean export)
loaderPaths - the set of paths to use from the system class loaderexport - true if this is a fully re-exported dependency, false if it should not be exportedpublic static DependencySpec createSystemDependencySpec(PathFilter importFilter, PathFilter exportFilter, Set<String> loaderPaths)
importFilter - the import filter to applyexportFilter - the export filter to applyloaderPaths - the set of paths to use from the system class loader@Deprecated public static DependencySpec createClassLoaderDependencySpec(ClassLoader classLoader, Set<String> loaderPaths)
LocalDependencySpecBuilder instead.classLoader - the class loaderloaderPaths - the set of paths to use from this class loader@Deprecated public static DependencySpec createClassLoaderDependencySpec(ClassLoader classLoader, Set<String> loaderPaths, boolean export)
LocalDependencySpecBuilder instead.classLoader - the class loaderloaderPaths - the set of paths to use from this class loaderexport - true if this is a fully re-exported dependency, false if it should not be exported@Deprecated public static DependencySpec createClassLoaderDependencySpec(PathFilter importFilter, PathFilter exportFilter, ClassLoader classLoader, Set<String> loaderPaths)
LocalDependencySpecBuilder instead.importFilter - the import filter to applyexportFilter - the export filter to applyclassLoader - the class loaderloaderPaths - the set of paths to use from this class loader@Deprecated public static DependencySpec createLocalDependencySpec(LocalLoader localLoader, Set<String> loaderPaths)
LocalDependencySpecBuilder instead.localLoader - the local loaderloaderPaths - the set of paths that is exposed by the local loader@Deprecated public static DependencySpec createLocalDependencySpec(LocalLoader localLoader, Set<String> loaderPaths, boolean export)
LocalDependencySpecBuilder instead.localLoader - the local loaderloaderPaths - the set of paths that is exposed by the local loaderexport - true if this is a fully re-exported dependency, false if it should not be exported@Deprecated public static DependencySpec createLocalDependencySpec(PathFilter importFilter, PathFilter exportFilter, LocalLoader localLoader, Set<String> loaderPaths)
LocalDependencySpecBuilder instead.importFilter - the import filter to applyexportFilter - the export filter to applylocalLoader - the local loaderloaderPaths - the set of paths that is exposed by the local loader@Deprecated public static DependencySpec createLocalDependencySpec(PathFilter importFilter, PathFilter exportFilter, PathFilter resourceImportFilter, PathFilter resourceExportFilter, ClassFilter classImportFilter, ClassFilter classExportFilter, LocalLoader localLoader, Set<String> loaderPaths)
LocalDependencySpecBuilder instead.importFilter - the import filter to applyexportFilter - the export filter to applyresourceImportFilter - the resource import filter to applyresourceExportFilter - the resource export filter to applyclassImportFilter - the class import filter to applyclassExportFilter - the class export filter to applylocalLoader - the local loaderloaderPaths - the set of paths that is exposed by the local loader@Deprecated public static DependencySpec createModuleDependencySpec(ModuleIdentifier identifier)
ModuleDependencySpecBuilder instead.identifier - the module identifier@Deprecated public static DependencySpec createModuleDependencySpec(String name)
ModuleDependencySpecBuilder instead.name - the module name@Deprecated public static DependencySpec createModuleDependencySpec(ModuleIdentifier identifier, boolean export)
ModuleDependencySpecBuilder instead.identifier - the module identifierexport - true if the dependency should be exported by default@Deprecated public static DependencySpec createModuleDependencySpec(String name, boolean export)
ModuleDependencySpecBuilder instead.name - the module nameexport - true if the dependency should be exported by default@Deprecated public static DependencySpec createModuleDependencySpec(ModuleIdentifier identifier, boolean export, boolean optional)
ModuleDependencySpecBuilder instead.identifier - the module identifierexport - true if this is a fully re-exported dependency, false if it should not be exportedoptional - true if the dependency is optional, false if it is mandatory@Deprecated public static DependencySpec createModuleDependencySpec(String name, boolean export, boolean optional)
ModuleDependencySpecBuilder instead.name - the module nameexport - true if this is a fully re-exported dependency, false if it should not be exportedoptional - true if the dependency is optional, false if it is mandatory@Deprecated public static DependencySpec createModuleDependencySpec(ModuleLoader moduleLoader, ModuleIdentifier identifier, boolean export)
ModuleDependencySpecBuilder instead.moduleLoader - the specific module loader from which the module should be acquiredidentifier - the module identifierexport - true if this is a fully re-exported dependency, false if it should not be exported@Deprecated public static DependencySpec createModuleDependencySpec(ModuleLoader moduleLoader, String name, boolean export)
ModuleDependencySpecBuilder instead.moduleLoader - the specific module loader from which the module should be acquiredname - the module nameexport - true if this is a fully re-exported dependency, false if it should not be exported@Deprecated public static DependencySpec createModuleDependencySpec(ModuleLoader moduleLoader, ModuleIdentifier identifier, boolean export, boolean optional)
ModuleDependencySpecBuilder instead.moduleLoader - the specific module loader from which the module should be acquiredidentifier - the module identifierexport - true if this is a fully re-exported dependency, false if it should not be exportedoptional - true if the dependency is optional, false if it is mandatory@Deprecated public static DependencySpec createModuleDependencySpec(ModuleLoader moduleLoader, String name, boolean export, boolean optional)
ModuleDependencySpecBuilder instead.moduleLoader - the specific module loader from which the module should be acquiredname - the module nameexport - true if this is a fully re-exported dependency, false if it should not be exportedoptional - true if the dependency is optional, false if it is mandatory@Deprecated public static DependencySpec createModuleDependencySpec(PathFilter exportFilter, ModuleIdentifier identifier, boolean optional)
ModuleDependencySpecBuilder instead.exportFilter - the export filter to applyidentifier - the module identifieroptional - true if the dependency is optional, false if it is mandatory@Deprecated public static DependencySpec createModuleDependencySpec(PathFilter exportFilter, String name, boolean optional)
ModuleDependencySpecBuilder instead.exportFilter - the export filter to applyname - the module nameoptional - true if the dependency is optional, false if it is mandatory@Deprecated public static DependencySpec createModuleDependencySpec(PathFilter exportFilter, ModuleLoader moduleLoader, ModuleIdentifier identifier, boolean optional)
ModuleDependencySpecBuilder instead.exportFilter - the export filter to applymoduleLoader - the specific module loader from which the module should be acquiredidentifier - the module identifieroptional - true if the dependency is optional, false if it is mandatory@Deprecated public static DependencySpec createModuleDependencySpec(PathFilter exportFilter, ModuleLoader moduleLoader, String name, boolean optional)
ModuleDependencySpecBuilder instead.exportFilter - the export filter to applymoduleLoader - the specific module loader from which the module should be acquiredname - the module nameoptional - true if the dependency is optional, false if it is mandatory@Deprecated public static DependencySpec createModuleDependencySpec(PathFilter importFilter, PathFilter exportFilter, ModuleLoader moduleLoader, ModuleIdentifier identifier, boolean optional)
ModuleDependencySpecBuilder instead.importFilter - the import filter to applyexportFilter - the export filter to applymoduleLoader - the specific module loader from which the module should be acquiredidentifier - the module identifieroptional - true if the dependency is optional, false if it is mandatory@Deprecated public static DependencySpec createModuleDependencySpec(PathFilter importFilter, PathFilter exportFilter, ModuleLoader moduleLoader, String name, boolean optional)
ModuleDependencySpecBuilder instead.importFilter - the import filter to applyexportFilter - the export filter to applymoduleLoader - the specific module loader from which the module should be acquiredname - the module nameoptional - true if the dependency is optional, false if it is mandatory@Deprecated public static DependencySpec createModuleDependencySpec(PathFilter importFilter, PathFilter exportFilter, PathFilter resourceImportFilter, PathFilter resourceExportFilter, ClassFilter classImportFilter, ClassFilter classExportFilter, ModuleLoader moduleLoader, ModuleIdentifier identifier, boolean optional)
ModuleDependencySpecBuilder instead.importFilter - the import filter to applyexportFilter - the export filter to applyresourceImportFilter - the resource import filter to applyresourceExportFilter - the resource export filter to applyclassImportFilter - the class import filter to applyclassExportFilter - the class export filter to applymoduleLoader - the specific module loader from which the module should be acquiredidentifier - the module identifieroptional - true if the dependency is optional, false if it is mandatory@Deprecated public static DependencySpec createModuleDependencySpec(PathFilter importFilter, PathFilter exportFilter, PathFilter resourceImportFilter, PathFilter resourceExportFilter, ClassFilter classImportFilter, ClassFilter classExportFilter, ModuleLoader moduleLoader, String name, boolean optional)
ModuleDependencySpecBuilder instead.importFilter - the import filter to applyexportFilter - the export filter to applyresourceImportFilter - the resource import filter to applyresourceExportFilter - the resource export filter to applyclassImportFilter - the class import filter to applyclassExportFilter - the class export filter to applymoduleLoader - the specific module loader from which the module should be acquiredname - the module nameoptional - true if the dependency is optional, false if it is mandatoryCopyright © 2018 JBoss by Red Hat. All rights reserved.