Package org.jboss.modules
Interface ModuleSpec.AliasBuilder
-
- Enclosing class:
- ModuleSpec
public static interface ModuleSpec.AliasBuilderA builder for new alias module specifications.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description ModuleSpeccreate()Create the module specification from this builder.java.lang.StringgetAliasName()Get the name of the module being referenced by this builder.default ModuleIdentifiergetAliasTarget()Deprecated, for removal: This API element is subject to removal in a future version.UsegetAliasName()instead.default ModuleIdentifiergetIdentifier()Deprecated, for removal: This API element is subject to removal in a future version.UsegetName()instead.java.lang.StringgetName()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(forRemoval=true) default ModuleIdentifier getIdentifier()
Deprecated, for removal: This API element is subject to removal in a future version.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(forRemoval=true) default ModuleIdentifier getAliasTarget()
Deprecated, for removal: This API element is subject to removal in a future version.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
-
-