Interface WebEnvironment

All Superinterfaces:
ProjectEnvironment, ServerEnvironment

public interface WebEnvironment extends ProjectEnvironment
A web based project environment.
Since:
4.1
  • Method Details

    • 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