Package | Description |
---|---|
org.jboss.shrinkwrap.descriptor.api.jbossmodule13 |
Provides the interfaces and enumeration types as defined in the schema
|
Modifier and Type | Method and Description |
---|---|
ModuleDescriptor |
ModuleDescriptor.name(String name)
Sets the
name attribute |
ModuleDescriptor |
ModuleDescriptor.removeDependencies()
Removes the
dependencies element |
ModuleDescriptor |
ModuleDescriptor.removeExports()
Removes the
exports element |
ModuleDescriptor |
ModuleDescriptor.removeMainClass()
Removes the
main-class element |
ModuleDescriptor |
ModuleDescriptor.removeName()
Removes the
name attribute |
ModuleDescriptor |
ModuleDescriptor.removePermissions()
Removes the
permissions element |
ModuleDescriptor |
ModuleDescriptor.removeProperties()
Removes the
properties element |
ModuleDescriptor |
ModuleDescriptor.removeResources()
Removes the
resources element |
ModuleDescriptor |
ModuleDescriptor.removeSlot()
Removes the
slot attribute |
ModuleDescriptor |
ModuleDescriptor.slot(String slot)
Sets the
slot attribute |
Modifier and Type | Method and Description |
---|---|
DependenciesType<ModuleDescriptor> |
ModuleDescriptor.getOrCreateDependencies()
If not already created, a new
dependencies element with the given value will be created. |
FilterType<ModuleDescriptor> |
ModuleDescriptor.getOrCreateExports()
If not already created, a new
exports element with the given value will be created. |
ClassNameType<ModuleDescriptor> |
ModuleDescriptor.getOrCreateMainClass()
If not already created, a new
main-class element with the given value will be created. |
PermissionsType<ModuleDescriptor> |
ModuleDescriptor.getOrCreatePermissions()
If not already created, a new
permissions element with the given value will be created. |
PropertyListType<ModuleDescriptor> |
ModuleDescriptor.getOrCreateProperties()
If not already created, a new
properties element with the given value will be created. |
ResourcesType<ModuleDescriptor> |
ModuleDescriptor.getOrCreateResources()
If not already created, a new
resources element with the given value will be created. |
Copyright © 2021 JBoss by Red Hat. All rights reserved.