Package de.espirit.firstspirit.module
Interface WebEnvironment
- All Superinterfaces:
- ProjectEnvironment,- ServerEnvironment
A web based project environment.
- Since:
- 4.1
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic enumIn which web scope is the component available: preview, staging, live, webedit or global.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the webscope@Nullable Stringgets the content of current web.xmlbooleanReturns true if the web.xml was edited by user, false otherwisevoidsetCustomWebXml(boolean customWebXml) Saves the "web.xml was edited by user" statevoidsaves the given string to web.xml fileMethods inherited from interface de.espirit.firstspirit.module.ProjectEnvironmentgetInstalledVersion, getProject, getProjectIdMethods inherited from interface de.espirit.firstspirit.module.ServerEnvironmentgetBroker, getConfDir, getConnection, getDataDir, getLogDir, getScope
- 
Method Details- 
getWebScopeWebEnvironment.WebScope getWebScope()Returns the webscope- Returns:
- webscope
- Since:
- 4.1
 
- 
hasCustomWebXmlboolean hasCustomWebXml()Returns true if the web.xml was edited by user, false otherwise- Returns:
- trueif edited otherwise- false
- Since:
- 4.1
 
- 
setCustomWebXmlvoid 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
 
- 
getWebXmlgets the content of current web.xml- Returns:
- the content of current web.xml
- Since:
- 4.1
 
- 
setWebXmlsaves the given string to web.xml file- Parameters:
- webXml- web.xml content, that should be saved
- Since:
- 4.1
 
 
-