ModuleDescriptor.Builder |
ModuleDescriptor.Builder.exports(ModuleDescriptor.Exports e) |
Adds an exported package.
|
ModuleDescriptor.Builder |
ModuleDescriptor.Builder.exports(String pn) |
Adds an exported package.
|
ModuleDescriptor.Builder |
ModuleDescriptor.Builder.exports(String pn,
Set<String> targets) |
Adds an exported package.
|
ModuleDescriptor.Builder |
ModuleDescriptor.Builder.exports(Set<ModuleDescriptor.Exports.Modifier> ms,
String pn) |
Adds an exported package with the given (and possibly empty) set of
modifiers.
|
ModuleDescriptor.Builder |
ModuleDescriptor.Builder.exports(Set<ModuleDescriptor.Exports.Modifier> ms,
String pn,
Set<String> targets) |
Adds an exported package with the given (and possibly empty) set of
modifiers.
|
ModuleDescriptor.Builder |
ModuleDescriptor.Builder.mainClass(String mc) |
Sets the module main class.
|
static ModuleDescriptor.Builder |
ModuleDescriptor.newAutomaticModule(String name) |
Instantiates a builder to build a module descriptor for an automatic
module.
|
static ModuleDescriptor.Builder |
ModuleDescriptor.newModule(String name) |
Instantiates a builder to build a module descriptor for a normal
module.
|
static ModuleDescriptor.Builder |
ModuleDescriptor.newModule(String name,
Set<ModuleDescriptor.Modifier> ms) |
Instantiates a builder to build a module descriptor.
|
static ModuleDescriptor.Builder |
ModuleDescriptor.newOpenModule(String name) |
Instantiates a builder to build a module descriptor for an open module.
|
ModuleDescriptor.Builder |
ModuleDescriptor.Builder.opens(ModuleDescriptor.Opens obj) |
Adds an open package.
|
ModuleDescriptor.Builder |
ModuleDescriptor.Builder.opens(String pn) |
Adds an open package.
|
ModuleDescriptor.Builder |
ModuleDescriptor.Builder.opens(String pn,
Set<String> targets) |
Adds an open package.
|
ModuleDescriptor.Builder |
ModuleDescriptor.Builder.opens(Set<ModuleDescriptor.Opens.Modifier> ms,
String pn) |
Adds an open package with the given (and possibly empty) set of
modifiers.
|
ModuleDescriptor.Builder |
ModuleDescriptor.Builder.opens(Set<ModuleDescriptor.Opens.Modifier> ms,
String pn,
Set<String> targets) |
Adds an open package with the given (and possibly empty) set of
modifiers.
|
ModuleDescriptor.Builder |
ModuleDescriptor.Builder.packages(Set<String> pns) |
Adds packages to the module.
|
ModuleDescriptor.Builder |
ModuleDescriptor.Builder.provides(ModuleDescriptor.Provides p) |
Provides a service with one or more implementations.
|
ModuleDescriptor.Builder |
ModuleDescriptor.Builder.provides(String service,
List<String> providers) |
Provides implementations of a service.
|
ModuleDescriptor.Builder |
ModuleDescriptor.Builder.requires(ModuleDescriptor.Requires req) |
Adds a dependence on a module.
|
ModuleDescriptor.Builder |
ModuleDescriptor.Builder.requires(String mn) |
Adds a dependence on a module with an empty set of modifiers.
|
ModuleDescriptor.Builder |
ModuleDescriptor.Builder.requires(Set<ModuleDescriptor.Requires.Modifier> ms,
String mn) |
Adds a dependence on a module with the given (and possibly empty)
set of modifiers.
|
ModuleDescriptor.Builder |
ModuleDescriptor.Builder.requires(Set<ModuleDescriptor.Requires.Modifier> ms,
String mn,
ModuleDescriptor.Version compiledVersion) |
Adds a dependence on a module with the given (and possibly empty)
set of modifiers.
|
ModuleDescriptor.Builder |
ModuleDescriptor.Builder.uses(String service) |
Adds a service dependence.
|
ModuleDescriptor.Builder |
ModuleDescriptor.Builder.version(ModuleDescriptor.Version v) |
Sets the module version.
|
ModuleDescriptor.Builder |
ModuleDescriptor.Builder.version(String vs) |
Sets the module version.
|