|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.espirit.firstspirit.module.descriptor.AbstractDescriptor
de.espirit.firstspirit.module.descriptor.WebAppDescriptor
public class WebAppDescriptor
| Nested Class Summary | |
|---|---|
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. |
| Nested classes/interfaces inherited from class de.espirit.firstspirit.module.descriptor.AbstractDescriptor |
|---|
de.espirit.firstspirit.module.descriptor.AbstractDescriptor.ResourceDescriptor |
| Nested classes/interfaces inherited from interface de.espirit.firstspirit.module.descriptor.ComponentDescriptor |
|---|
ComponentDescriptor.Scope, ComponentDescriptor.Type |
| Field Summary |
|---|
| Fields inherited from class de.espirit.firstspirit.module.descriptor.AbstractDescriptor |
|---|
EMTPY_DEPENDENCIES, EMTPY_RESOURCES, NAME_ALLOWED_CHARACTERS |
| Constructor Summary | |
|---|---|
WebAppDescriptor(String name,
String moduleName,
String version)
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class de.espirit.firstspirit.module.descriptor.AbstractDescriptor |
|---|
compareVersion, getAttribute, getComponentClass, getConfiguration, getConfigurationClass, getDependencies, getDescription, getDirectChildNodeValue, getModuleName, getName, getNodeValue, getNodeValue, getRequiredClasses, getResources, getScope, getScope, getVersion, getVersion, isHidden, isUnknown, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface de.espirit.firstspirit.module.descriptor.ComponentDescriptor |
|---|
getComponentClass, getConfiguration, getConfigurationClass, getDescription, getModuleName, getName, getResources, getVersion, isHidden, isUnknown |
| Constructor Detail |
|---|
public WebAppDescriptor(String name,
String moduleName,
String version)
| Method Detail |
|---|
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.WebAppScopes based on xml definition.
WebAppDescriptor.WebAppScopespublic ComponentDescriptor.Type getType()
ComponentDescriptor
getType in interface ComponentDescriptorpublic ComponentDescriptor.Scope getScope()
ComponentDescriptor
getScope in interface ComponentDescriptor
public void validate(ZipFile file)
throws IOException
validate in class de.espirit.firstspirit.module.descriptor.AbstractDescriptorIOException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||