public interface WebEnvironment extends ProjectEnvironment
| Modifier and Type | Interface and Description |
|---|---|
static class |
WebEnvironment.WebScope
In which web scope is the component available: preview, staging, live, webedit or global.
|
| Modifier and Type | Method and Description |
|---|---|
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
|
getInstalledVersion, getProject, getProjectIdgetBroker, getConfDir, getConnection, getDataDir, getLogDir, getScopeWebEnvironment.WebScope getWebScope()
boolean hasCustomWebXml()
true if edited otherwise falsevoid setCustomWebXml(boolean customWebXml)
customWebXml - true if web.xml was edited by user, false otherwise@Nullable String getWebXml()
void setWebXml(String webXml)
webXml - web.xml content, that should be savedCopyright © 2014 e-Spirit AG. All Rights Reserved. Build 5.0_BETA.500