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, toString
public CookedModuleDefinition(File file, Attributes attr) throws IOException
IOException
public void addPublicInterface(String exported)
public String[] getPublicInterfaces()
DefaultModuleDefinition
getPublicInterfaces
in interface ModuleDefinition
getPublicInterfaces
in class DefaultModuleDefinition
public void addDependency(ModuleDependency dependent)
public ModuleDependency[] getDependencies()
DefaultModuleDefinition
getDependencies
in interface ModuleDefinition
getDependencies
in class DefaultModuleDefinition
Copyright © 2009–2023 Oracle Corporation. All rights reserved.