
public interface ModuleType<T> extends Child<T>
moduleType xsd type| Modifier 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 elementModuleTypeDependenciesType<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 elementModuleTypeResourcesType<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 elementModuleTypeClassNameType<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 elementModuleTypePropertyListType<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 elementModuleTypePermissionsType<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 elementModuleTypeModuleType<T> name(String name)
name attributename - the value for the attribute nameModuleTypeString getName()
name attributenameModuleType<T> removeName()
name attributeModuleTypeModuleType<T> slot(String slot)
slot attributeslot - the value for the attribute slotModuleTypeString getSlot()
slot attributeslotModuleType<T> removeSlot()
slot attributeModuleTypeCopyright © 2021 JBoss by Red Hat. All rights reserved.