public interface ModuleType<T> extends Child<T>
moduleType
xsd typeModifier and Type | Method and Description |
---|---|
String |
getName()
Returns the
name attribute |
DependenciesType<ModuleType<T>> |
getOrCreateDependencies()
If not already created, a new
dependencies element with the given value will be created. |
FilterType<ModuleType<T>> |
getOrCreateExports()
If not already created, a new
exports element with the given value will be created. |
ModuleAliasType<ModuleType<T>> |
getOrCreateModuleAlias()
If not already created, a new
module-alias element with the given value will be created. |
ResourcesType<ModuleType<T>> |
getOrCreateResources()
If not already created, a new
resources element with the given value will be created. |
String |
getSlot()
Returns the
slot attribute |
ModuleType<T> |
name(String name)
Sets the
name attribute |
ModuleType<T> |
removeDependencies()
Removes the
dependencies element |
ModuleType<T> |
removeExports()
Removes the
exports element |
ModuleType<T> |
removeModuleAlias()
Removes the
module-alias element |
ModuleType<T> |
removeName()
Removes the
name attribute |
ModuleType<T> |
removeResources()
Removes the
resources element |
ModuleType<T> |
removeSlot()
Removes the
slot attribute |
ModuleType<T> |
slot(String slot)
Sets the
slot attribute |
ModuleAliasType<ModuleType<T>> getOrCreateModuleAlias()
module-alias
element with the given value will be created.
Otherwise, the existing module-alias
element will be returned.ModuleAliasType>
ModuleType<T> removeModuleAlias()
module-alias
elementModuleType
FilterType<ModuleType<T>> getOrCreateExports()
exports
element with the given value will be created.
Otherwise, the existing exports
element will be returned.FilterType>
ModuleType<T> removeExports()
exports
elementModuleType
DependenciesType<ModuleType<T>> getOrCreateDependencies()
dependencies
element with the given value will be created.
Otherwise, the existing dependencies
element will be returned.DependenciesType>
ModuleType<T> removeDependencies()
dependencies
elementModuleType
ResourcesType<ModuleType<T>> getOrCreateResources()
resources
element with the given value will be created.
Otherwise, the existing resources
element will be returned.ResourcesType>
ModuleType<T> removeResources()
resources
elementModuleType
ModuleType<T> name(String name)
name
attributename
- the value for the attribute name
ModuleType
String getName()
name
attributename
ModuleType<T> removeName()
name
attributeModuleType
ModuleType<T> slot(String slot)
slot
attributeslot
- the value for the attribute slot
ModuleType
String getSlot()
slot
attributeslot
ModuleType<T> removeSlot()
slot
attributeModuleType
Copyright © 2017 JBoss by Red Hat. All rights reserved.