de.espirit.firstspirit.module
Interface WebEnvironment

All Superinterfaces:
ProjectEnvironment, ServerEnvironment

public interface WebEnvironment
extends ProjectEnvironment

Since:
4.1

Nested Class Summary
static class WebEnvironment.WebScope
          In which web scope is the component available: preview, staging, live, webedit or global.
 
Method Summary
 WebEnvironment.WebScope getWebScope()
          Returns the webscope
 String getWebXml()
          gets the content of current web.xml
 boolean hasCustomWebXml()
          Returns true if the web.xml was edited by user, false otherwise
 void setCustomWebXml(boolean customWebXml)
          Saves the "web.xml was edited by user" state
 void setWebXml(String webXml)
          saves the given string to web.xml file
 
Methods inherited from interface de.espirit.firstspirit.module.ProjectEnvironment
getInstalledVersion, getProject, getProjectId
 
Methods inherited from interface de.espirit.firstspirit.module.ServerEnvironment
getConfDir, getConnection, getDataDir, getLogDir, getScope
 

Method Detail

getWebScope

WebEnvironment.WebScope getWebScope()
Returns the webscope

Returns:
webscope
Since:
4.1

hasCustomWebXml

boolean hasCustomWebXml()
Returns true if the web.xml was edited by user, false otherwise

Returns:
true if edited otherwise false
Since:
4.1

setCustomWebXml

void setCustomWebXml(boolean customWebXml)
Saves the "web.xml was edited by user" state

Parameters:
customWebXml - true if web.xml was edited by user, false otherwise
Since:
4.1

getWebXml

@Nullable
String getWebXml()
gets the content of current web.xml

Returns:
the content of current web.xml
Since:
4.1

setWebXml

void setWebXml(String webXml)
saves the given string to web.xml file

Parameters:
webXml - web.xml content, that should be saved
Since:
4.1


Copyright © 2012 e-Spirit AG. All Rights Reserved. Build 4.2.480