public class CookedModuleDefinition extends DefaultModuleDefinition
classPath, mainAttributes| Constructor and Description |
|---|
CookedModuleDefinition(File file,
Attributes attr)
Creates a new instance of CookedModuleDefinitionefinition
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(List<URI> extraClassPath) |
void |
addDependency(ModuleDependency dependent) |
void |
addPublicInterface(String exported) |
ModuleDependency[] |
getDependencies()
Returns the list of module dependencies
|
String[] |
getPublicInterfaces()
Returns the list of classes and packages that have been designated as
public interfaces of this module.
|
decorateClassPath, getImportPolicyClassName, getLifecyclePolicyClassName, getLocations, getManifest, getMetadata, getName, getVersion, parseAttributes, parseClassPath, toStringpublic CookedModuleDefinition(File file, Attributes attr) throws IOException
IOExceptionpublic void addPublicInterface(String exported)
public String[] getPublicInterfaces()
DefaultModuleDefinitiongetPublicInterfaces in interface ModuleDefinitiongetPublicInterfaces in class DefaultModuleDefinitionpublic void addDependency(ModuleDependency dependent)
public ModuleDependency[] getDependencies()
DefaultModuleDefinitiongetDependencies in interface ModuleDefinitiongetDependencies in class DefaultModuleDefinitionCopyright © 2009-2017 Oracle Corporation. All Rights Reserved.