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, getProjectId
getBroker, getConfDir, getConnection, getDataDir, getLogDir, getScope
WebEnvironment.WebScope getWebScope()
boolean hasCustomWebXml()
true
if edited otherwise false
void 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