public class WebAppDescriptor extends de.espirit.firstspirit.module.descriptor.AbstractDescriptor implements ComponentDescriptor
| Modifier and Type | Class and Description |
|---|---|
static class |
WebAppDescriptor.FilterDescriptor
Contains filter definition based on an include and exclude list of paths.
|
static class |
WebAppDescriptor.WebAppScope
The scope describes the place where the component is available: global or project-local webapps.
|
de.espirit.firstspirit.module.descriptor.AbstractDescriptor.ResourceDescriptorComponentDescriptor.Scope, ComponentDescriptor.Type| Modifier and Type | Method and Description |
|---|---|
static WebAppDescriptor |
create(Element serviceElement,
String moduleName,
String version) |
ComponentDescriptor.Scope |
getScope()
Returns component scope.
|
ComponentDescriptor.Type |
getType()
Returns component type.
|
EnumSet<WebAppDescriptor.WebAppScope> |
getWebAppScopes()
Returns a set of supported
WebAppDescriptor.WebAppScopes based on xml definition. |
String |
getWebDir() |
WebAppDescriptor.FilterDescriptor |
getWebDirFilter()
Returns
WebAppDescriptor.FilterDescriptor instance based on xml filter definition if specified, or null if not. |
de.espirit.firstspirit.module.descriptor.AbstractDescriptor.ResourceDescriptor[] |
getWebResources() |
String |
getWebXml() |
void |
validate(ZipFile file) |
compareVersion, getAttribute, getComponentClass, getConfiguration, getConfigurationClass, getDependencies, getDescription, getDirectChildNodeValue, getDisplayName, getModuleName, getName, getNodeValue, getNodeValue, getRequiredClasses, getResources, getScope, getScope, getVersion, getVersion, isHidden, isUnknown, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetComponentClass, getConfiguration, getConfigurationClass, getDescription, getDisplayName, getModuleName, getName, getResources, getVersion, isHidden, isUnknownpublic static WebAppDescriptor create(Element serviceElement, String moduleName, String version)
public de.espirit.firstspirit.module.descriptor.AbstractDescriptor.ResourceDescriptor[] getWebResources()
public String getWebXml()
public String getWebDir()
@Nullable public WebAppDescriptor.FilterDescriptor getWebDirFilter()
WebAppDescriptor.FilterDescriptor instance based on xml filter definition if specified, or null if not.WebAppDescriptor.FilterDescriptor instance@NotNull public EnumSet<WebAppDescriptor.WebAppScope> getWebAppScopes()
WebAppDescriptor.WebAppScopes based on xml definition.WebAppDescriptor.WebAppScopespublic ComponentDescriptor.Type getType()
ComponentDescriptorgetType in interface ComponentDescriptorpublic ComponentDescriptor.Scope getScope()
ComponentDescriptorgetScope in interface ComponentDescriptorpublic void validate(ZipFile file) throws IOException
validate in class de.espirit.firstspirit.module.descriptor.AbstractDescriptorIOExceptionCopyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500