
public interface ModuleAliasDescriptor extends Descriptor, DescriptorNamespace<ModuleAliasDescriptor>
This deployment descriptor provides the functionalities as described in the specification
Example:
ModuleAliasDescriptor descriptor = Descriptors.create(ModuleAliasDescriptor.class);
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Returns the
name attribute |
String |
getSlot()
Returns the
slot attribute |
String |
getTargetName()
Returns the
target-name attribute |
String |
getTargetSlot()
Returns the
target-slot attribute |
ModuleAliasDescriptor |
name(String name)
Sets the
name attribute |
ModuleAliasDescriptor |
removeName()
Removes the
name attribute |
ModuleAliasDescriptor |
removeSlot()
Removes the
slot attribute |
ModuleAliasDescriptor |
removeTargetName()
Removes the
target-name attribute |
ModuleAliasDescriptor |
removeTargetSlot()
Removes the
target-slot attribute |
ModuleAliasDescriptor |
slot(String slot)
Sets the
slot attribute |
ModuleAliasDescriptor |
targetName(String targetName)
Sets the
target-name attribute |
ModuleAliasDescriptor |
targetSlot(String targetSlot)
Sets the
target-slot attribute |
exportAsString, exportTo, getDescriptorNameaddDefaultNamespaces, addNamespace, getNamespaces, removeAllNamespacesModuleAliasDescriptor name(String name)
name attributename - the value for the attribute nameModuleAliasDescriptorString getName()
name attributenameModuleAliasDescriptor removeName()
name attributeModuleAliasDescriptorModuleAliasDescriptor slot(String slot)
slot attributeslot - the value for the attribute slotModuleAliasDescriptorString getSlot()
slot attributeslotModuleAliasDescriptor removeSlot()
slot attributeModuleAliasDescriptorModuleAliasDescriptor targetName(String targetName)
target-name attributetargetName - the value for the attribute target-nameModuleAliasDescriptorString getTargetName()
target-name attributetarget-nameModuleAliasDescriptor removeTargetName()
target-name attributeModuleAliasDescriptorModuleAliasDescriptor targetSlot(String targetSlot)
target-slot attributetargetSlot - the value for the attribute target-slotModuleAliasDescriptorString getTargetSlot()
target-slot attributetarget-slotModuleAliasDescriptor removeTargetSlot()
target-slot attributeModuleAliasDescriptorCopyright © 2021 JBoss by Red Hat. All rights reserved.