Package org.jboss.modules
Interface ModuleSpec.AliasBuilder
-
- Enclosing class:
- ModuleSpec
public static interface ModuleSpec.AliasBuilder
A builder for new alias module specifications.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description ModuleSpec
create()
Create the module specification from this builder.java.lang.String
getAliasName()
Get the name of the module being referenced by this builder.default ModuleIdentifier
getAliasTarget()
Deprecated.UsegetAliasName()
instead.default ModuleIdentifier
getIdentifier()
Deprecated.UsegetName()
instead.java.lang.String
getName()
Get the name of the module being defined by this builder.
-
-
-
Method Detail
-
create
ModuleSpec create()
Create the module specification from this builder.- Returns:
- the module specification
-
getIdentifier
@Deprecated default ModuleIdentifier getIdentifier()
Deprecated.UsegetName()
instead.Get the identifier of the module being defined by this builder.- Returns:
- the module identifier
-
getName
java.lang.String getName()
Get the name of the module being defined by this builder.- Returns:
- the module name
-
getAliasTarget
@Deprecated default ModuleIdentifier getAliasTarget()
Deprecated.UsegetAliasName()
instead.Get the identifier of the module being referenced by this builder.- Returns:
- the module identifier
-
getAliasName
java.lang.String getAliasName()
Get the name of the module being referenced by this builder.- Returns:
- the module name
-
-