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. |
ClassNameType<ModuleType<T>> |
getOrCreateMainClass()
If not already created, a new
main-class element with the given value will be created. |
PermissionsType<ModuleType<T>> |
getOrCreatePermissions()
If not already created, a new
permissions element with the given value will be created. |
PropertyListType<ModuleType<T>> |
getOrCreateProperties()
If not already created, a new
properties 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> |
removeMainClass()
Removes the
main-class element |
ModuleType<T> |
removeName()
Removes the
name attribute |
ModuleType<T> |
removePermissions()
Removes the
permissions element |
ModuleType<T> |
removeProperties()
Removes the
properties element |
ModuleType<T> |
removeResources()
Removes the
resources element |
ModuleType<T> |
removeSlot()
Removes the
slot attribute |
ModuleType<T> |
slot(String slot)
Sets the
slot attribute |
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
ClassNameType<ModuleType<T>> getOrCreateMainClass()
main-class
element with the given value will be created.
Otherwise, the existing main-class
element will be returned.ClassNameType>
ModuleType<T> removeMainClass()
main-class
elementModuleType
PropertyListType<ModuleType<T>> getOrCreateProperties()
properties
element with the given value will be created.
Otherwise, the existing properties
element will be returned.PropertyListType>
ModuleType<T> removeProperties()
properties
elementModuleType
PermissionsType<ModuleType<T>> getOrCreatePermissions()
permissions
element with the given value will be created.
Otherwise, the existing permissions
element will be returned.PermissionsType>
ModuleType<T> removePermissions()
permissions
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 © 2023 JBoss by Red Hat. All rights reserved.