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 |
---|---|
ModuleType<T> |
ModuleType.name(String name)
Sets the
name attribute |
ModuleType<T> |
ModuleType.removeDependencies()
Removes the
dependencies element |
ModuleType<T> |
ModuleType.removeExports()
Removes the
exports element |
ModuleType<T> |
ModuleType.removeMainClass()
Removes the
main-class element |
ModuleType<T> |
ModuleType.removeName()
Removes the
name attribute |
ModuleType<T> |
ModuleType.removePermissions()
Removes the
permissions element |
ModuleType<T> |
ModuleType.removeProperties()
Removes the
properties element |
ModuleType<T> |
ModuleType.removeResources()
Removes the
resources element |
ModuleType<T> |
ModuleType.removeSlot()
Removes the
slot attribute |
ModuleType<T> |
ModuleType.slot(String slot)
Sets the
slot attribute |
Modifier and Type | Method and Description |
---|---|
DependenciesType<ModuleType<T>> |
ModuleType.getOrCreateDependencies()
If not already created, a new
dependencies element with the given value will be created. |
FilterType<ModuleType<T>> |
ModuleType.getOrCreateExports()
If not already created, a new
exports element with the given value will be created. |
ClassNameType<ModuleType<T>> |
ModuleType.getOrCreateMainClass()
If not already created, a new
main-class element with the given value will be created. |
PermissionsType<ModuleType<T>> |
ModuleType.getOrCreatePermissions()
If not already created, a new
permissions element with the given value will be created. |
PropertyListType<ModuleType<T>> |
ModuleType.getOrCreateProperties()
If not already created, a new
properties element with the given value will be created. |
ResourcesType<ModuleType<T>> |
ModuleType.getOrCreateResources()
If not already created, a new
resources element with the given value will be created. |
Copyright © 2016 JBoss by Red Hat. All rights reserved.