public class ModuleDescriptor<T extends RootDeploymentDescriptor> extends Descriptor
DESCRIPTION_CHANGED, DESCRIPTOR_CHANGED, docType, LARGE_ICON_CHANGED, NAME_CHANGED, SMALL_ICON_CHANGED| Constructor and Description |
|---|
ModuleDescriptor()
Creates new ModuleDescriptor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAlternateDescriptor() |
String |
getArchiveUri() |
String |
getContextRoot() |
T |
getDescriptor() |
Manifest |
getManifest() |
String |
getModuleName()
Returns the value of the module-name element in the application.xml if
it's defined.
|
ArchiveType |
getModuleType() |
Iterator |
getWebDeploymentExtensions() |
boolean |
isStandalone() |
void |
print(StringBuilder toStringBuilder)
A String representation of this object.
|
void |
setAlternateDescriptor(String altDD)
Sets the path to the alternate deployment descriptors
in the application archive
|
void |
setArchiveUri(String path)
Sets the archive uri as defined in the application xml
or the full archive path for standalone modules
|
void |
setContextRoot(String contextRoot)
Sets the context root for Web module
|
void |
setDescriptor(T descriptor)
Sets the
BundleDescriptor descriptor for this
module |
void |
setManifest(Manifest m)
Sets the
Manifest information for this
module |
void |
setModuleName(String moduleName)
Sets the module name
|
void |
setModuleType(ArchiveType type) |
void |
setStandalone(boolean standalone)
Sets the standalone flag
|
addDescriptorExtension, addPrefixMapping, createUniqueFilenameAmongst, createUniqueNameAmongst, createUniqueNameAmongstNamedDescriptors, fillDocType, getDeploymentExtensions, getDescription, getDescriptorExtension, getDescriptorExtensions, getDisplayName, getDocType, getLargeIconUri, getLocalizedDescription, getLocalizedDescriptions, getLocalizedDisplayName, getLocalizedDisplayNames, getLocalizedLargeIconUri, getLocalizedLargeIconUris, getLocalizedSmallIconUri, getLocalizedSmallIconUris, getName, getPrefixMapping, getSmallIconUri, isBoundsChecking, setBoundsChecking, setDescription, setDisplayName, setLargeIconUri, setLocalizedDescription, setLocalizedDisplayName, setLocalizedLargeIconUri, setLocalizedSmallIconUri, setName, setSmallIconUri, visitaddExtraAttribute, getExtraAttribute, getExtraAttributes, removeExtraAttribute, toStringaddObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChangedpublic void setModuleType(ArchiveType type)
public ArchiveType getModuleType()
public void setArchiveUri(String path)
public String getArchiveUri()
public void setAlternateDescriptor(String altDD)
altDD - the uri for the deployment descriptorspublic String getAlternateDescriptor()
public void setDescriptor(T descriptor)
BundleDescriptor descriptor for this
moduledescriptor - the module descriptorpublic T getDescriptor()
BundleDescriptor module descriptorpublic void setContextRoot(String contextRoot)
contextRoot - the contextRootpublic String getContextRoot()
public String getModuleName()
public void setModuleName(String moduleName)
moduleName - the module name of this applicationpublic Manifest getManifest()
public boolean isStandalone()
public void setStandalone(boolean standalone)
public Iterator getWebDeploymentExtensions()
public void print(StringBuilder toStringBuilder)
Descriptorprint in class DescriptorCopyright © 2019. All rights reserved.