EarWebModule (Gradle API 4.5.1)
Date: 2018-02-05

org.gradle.plugins.ear.descriptor

## Interface EarWebModule

- All Superinterfaces:
    EarModule

      public interface EarWebModule
      extends EarModule

  A module element in a deployment descriptor like application.xml that has a web child element.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getContextRoot()` The context-root element specifies the context root of a web application.
    `void` | `setContextRoot(String contextRoot)`

    - ### Methods inherited from interface org.gradle.plugins.ear.descriptor.EarModule

      `getAltDeployDescriptor, getPath, setAltDeployDescriptor, setPath, toXmlNode`

- - ### Method Detail

    - #### getContextRoot

          String getContextRoot()

      The context-root element specifies the context root of a web application.

    - #### setContextRoot

          void setContextRoot(String contextRoot)