- Enclosing class:
- ModuleSpec
public static interface ModuleSpec.AliasBuilder
A builder for new alias module specifications.
-
Method Summary
Modifier and TypeMethodDescriptioncreate()
Create the module specification from this builder.Get the name of the module being referenced by this builder.default ModuleIdentifier
Deprecated.default ModuleIdentifier
Deprecated.UsegetName()
instead.getName()
Get the name of the module being defined by this builder.
-
Method Details
-
create
ModuleSpec create()Create the module specification from this builder.- Returns:
- the module specification
-
getIdentifier
Deprecated.UsegetName()
instead.Get the identifier of the module being defined by this builder.- Returns:
- the module identifier
-
getName
String getName()Get the name of the module being defined by this builder.- Returns:
- the module name
-
getAliasTarget
Deprecated.UsegetAliasName()
instead.Get the identifier of the module being referenced by this builder.- Returns:
- the module identifier
-
getAliasName
String getAliasName()Get the name of the module being referenced by this builder.- Returns:
- the module name
-
getAliasName()
instead.