Package org.jboss.modules.management
Class DependencyInfo
- java.lang.Object
-
- org.jboss.modules.management.DependencyInfo
-
public final class DependencyInfo extends java.lang.Object
Information describing a dependency.- Author:
- David M. Lloyd
-
-
Constructor Summary
Constructors Constructor Description DependencyInfo(java.lang.String dependencyType, java.lang.String exportFilter, java.lang.String importFilter, ModuleLoaderMXBean moduleLoader, java.lang.String moduleName, boolean optional, java.lang.String localLoader, java.util.List<java.lang.String> localLoaderPaths)
Construct a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDependencyType()
Get the dependency type class name.java.lang.String
getExportFilter()
Get the export filter, as a string.java.lang.String
getImportFilter()
Get the import filter, as a string.java.lang.String
getLocalLoader()
Get the local loader type class name.java.util.List<java.lang.String>
getLocalLoaderPaths()
Get the list of paths made available by the local loader.ModuleLoaderMXBean
getModuleLoader()
Get the module loader MXBean of this dependency.java.lang.String
getModuleName()
Get the module name, as a string.boolean
isOptional()
Determine whether this is an optional dependency.
-
-
-
Constructor Detail
-
DependencyInfo
@ConstructorProperties({"dependencyType","exportFilter","importFilter","moduleLoader","moduleName","optional","localLoader","localLoaderPaths"}) public DependencyInfo(java.lang.String dependencyType, java.lang.String exportFilter, java.lang.String importFilter, ModuleLoaderMXBean moduleLoader, java.lang.String moduleName, boolean optional, java.lang.String localLoader, java.util.List<java.lang.String> localLoaderPaths)
Construct a new instance.- Parameters:
dependencyType
- the dependency type class nameexportFilter
- the export filter, as a stringimportFilter
- the import filter, as a stringmoduleLoader
- the module loader MXBean of this dependencymoduleName
- the module name, as a stringoptional
-true
if this is an optional dependencylocalLoader
- the local loader type class namelocalLoaderPaths
- the list of paths made available by the local loader
-
-
Method Detail
-
getDependencyType
public java.lang.String getDependencyType()
Get the dependency type class name.- Returns:
- the dependency type class name
-
getExportFilter
public java.lang.String getExportFilter()
Get the export filter, as a string.- Returns:
- the export filter, as a string
-
getImportFilter
public java.lang.String getImportFilter()
Get the import filter, as a string.- Returns:
- the import filter, as a string
-
getModuleLoader
public ModuleLoaderMXBean getModuleLoader()
Get the module loader MXBean of this dependency.- Returns:
- the module loader MXBean of this dependency
-
getModuleName
public java.lang.String getModuleName()
Get the module name, as a string.- Returns:
- the module name, as a string
-
isOptional
public boolean isOptional()
Determine whether this is an optional dependency.- Returns:
true
if this is an optional dependency
-
getLocalLoader
public java.lang.String getLocalLoader()
Get the local loader type class name.- Returns:
- the local loader type class name
-
getLocalLoaderPaths
public java.util.List<java.lang.String> getLocalLoaderPaths()
Get the list of paths made available by the local loader.- Returns:
- the list of paths made available by the local loader
-
-