public interface WildFlyFeaturePackDescriptor extends Descriptor, DescriptorNamespace<WildFlyFeaturePackDescriptor>
This deployment descriptor provides the functionalities as described in the specification
Example:
WildFlyFeaturePackDescriptor descriptor = Descriptors.create(WildFlyFeaturePackDescriptor.class);
Modifier and Type | Method and Description |
---|---|
ArtifactVersionsType<WildFlyFeaturePackDescriptor> |
getOrCreateArtifactVersions()
If not already created, a new
artifact-versions element with the given value will be created. |
ConfigType<WildFlyFeaturePackDescriptor> |
getOrCreateConfig()
If not already created, a new
config element with the given value will be created. |
CopyArtifactsType<WildFlyFeaturePackDescriptor> |
getOrCreateCopyArtifacts()
If not already created, a new
copy-artifacts element with the given value will be created. |
DependenciesType<WildFlyFeaturePackDescriptor> |
getOrCreateDependencies()
If not already created, a new
dependencies element with the given value will be created. |
FilePermissionsType<WildFlyFeaturePackDescriptor> |
getOrCreateFilePermissions()
If not already created, a new
file-permissions element with the given value will be created. |
WildFlyFeaturePackDescriptor |
removeArtifactVersions()
Removes the
artifact-versions element |
WildFlyFeaturePackDescriptor |
removeConfig()
Removes the
config element |
WildFlyFeaturePackDescriptor |
removeCopyArtifacts()
Removes the
copy-artifacts element |
WildFlyFeaturePackDescriptor |
removeDependencies()
Removes the
dependencies element |
WildFlyFeaturePackDescriptor |
removeFilePermissions()
Removes the
file-permissions element |
exportAsString, exportTo, getDescriptorName
addDefaultNamespaces, addNamespace, getNamespaces, removeAllNamespaces
DependenciesType<WildFlyFeaturePackDescriptor> getOrCreateDependencies()
dependencies
element with the given value will be created.
Otherwise, the existing dependencies
element will be returned.DependenciesType
WildFlyFeaturePackDescriptor removeDependencies()
dependencies
elementWildFlyFeaturePackDescriptor
ArtifactVersionsType<WildFlyFeaturePackDescriptor> getOrCreateArtifactVersions()
artifact-versions
element with the given value will be created.
Otherwise, the existing artifact-versions
element will be returned.ArtifactVersionsType
WildFlyFeaturePackDescriptor removeArtifactVersions()
artifact-versions
elementWildFlyFeaturePackDescriptor
ConfigType<WildFlyFeaturePackDescriptor> getOrCreateConfig()
config
element with the given value will be created.
Otherwise, the existing config
element will be returned.ConfigType
WildFlyFeaturePackDescriptor removeConfig()
config
elementWildFlyFeaturePackDescriptor
CopyArtifactsType<WildFlyFeaturePackDescriptor> getOrCreateCopyArtifacts()
copy-artifacts
element with the given value will be created.
Otherwise, the existing copy-artifacts
element will be returned.CopyArtifactsType
WildFlyFeaturePackDescriptor removeCopyArtifacts()
copy-artifacts
elementWildFlyFeaturePackDescriptor
FilePermissionsType<WildFlyFeaturePackDescriptor> getOrCreateFilePermissions()
file-permissions
element with the given value will be created.
Otherwise, the existing file-permissions
element will be returned.FilePermissionsType
WildFlyFeaturePackDescriptor removeFilePermissions()
file-permissions
elementWildFlyFeaturePackDescriptor
Copyright © 2018 JBoss by Red Hat. All rights reserved.