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.ResourceDescriptor
ComponentDescriptor.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.WebAppScope s 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, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getComponentClass, getConfiguration, getConfigurationClass, getDescription, getDisplayName, getModuleName, getName, getResources, getVersion, isHidden, isUnknown
public 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.WebAppScope
s based on xml definition.WebAppDescriptor.WebAppScope
spublic ComponentDescriptor.Type getType()
ComponentDescriptor
getType
in interface ComponentDescriptor
public ComponentDescriptor.Scope getScope()
ComponentDescriptor
getScope
in interface ComponentDescriptor
public void validate(ZipFile file) throws IOException
validate
in class de.espirit.firstspirit.module.descriptor.AbstractDescriptor
IOException
Copyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500