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, getDescriptorName
addDefaultNamespaces, addNamespace, getNamespaces, removeAllNamespaces
ModuleAliasDescriptor name(String name)
name
attributename
- the value for the attribute name
ModuleAliasDescriptor
String getName()
name
attributename
ModuleAliasDescriptor removeName()
name
attributeModuleAliasDescriptor
ModuleAliasDescriptor slot(String slot)
slot
attributeslot
- the value for the attribute slot
ModuleAliasDescriptor
String getSlot()
slot
attributeslot
ModuleAliasDescriptor removeSlot()
slot
attributeModuleAliasDescriptor
ModuleAliasDescriptor targetName(String targetName)
target-name
attributetargetName
- the value for the attribute target-name
ModuleAliasDescriptor
String getTargetName()
target-name
attributetarget-name
ModuleAliasDescriptor removeTargetName()
target-name
attributeModuleAliasDescriptor
ModuleAliasDescriptor targetSlot(String targetSlot)
target-slot
attributetargetSlot
- the value for the attribute target-slot
ModuleAliasDescriptor
String getTargetSlot()
target-slot
attributetarget-slot
ModuleAliasDescriptor removeTargetSlot()
target-slot
attributeModuleAliasDescriptor
Copyright © 2022 JBoss by Red Hat. All rights reserved.