Overview | Package | Class | Deprecated | Index | Help
| Groovy Documentation
| FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.gradle.api.plugins.jetty
Class JettyRunWar

    java.lang.Object
      org.gradle.api.internal.AbstractTask
          org.gradle.api.DefaultTask
              org.gradle.api.internal.ConventionTask
                  org.gradle.api.plugins.jetty.AbstractJettyRunTask
                      org.gradle.api.plugins.jetty.AbstractJettyRunWarTask
                          org.gradle.api.plugins.jetty.JettyRunWar

    class JettyRunWar
    extends AbstractJettyRunWarTask

The `JettyRunWar` deploys a WAR to an embedded Jetty web container.

Once started, the web container can be configured to run continuously, scanning for changes to the war file and automatically performing a hot redeploy when necessary.

Field Summary

Fields inherited from class AbstractJettyRunTask
consoleScanner, reload, scannerListeners

Constructor Summary
`JettyRunWar(Project project, java.lang.String name)`

Method Summary
`void` | `configureScanner()`
`void` | `configureWebApplication()`
`void` | `finishConfigurationBeforeStart()`
`File` | `getWebApp()`
`void` | `restartWebApp(boolean reconfigureScanner)`
`void` | `setWebApp(File webApp)`
`void` | `validateConfiguration()`

Methods inherited from class AbstractJettyRunWarTask
applyJettyXml, createServer

Methods inherited from class AbstractJettyRunTask
applyJettyXml, configureScanner, configureWebApplication, createServer, findJettyWebXmlFile, finishConfigurationBeforeStart, getAdditionalRuntimeJars, getConnectors, getContextPath, getHttpPort, getJettyConfig, getOverrideWebXml, getReload, getRequestLog, getScanIntervalSeconds, getScanner, getScannerListeners, getServer, getStopKey, getStopPort, getTmpDirectory, getUserRealms, getWebAppConfig, getWebDefaultXml, isDaemon, restartWebApp, setAdditionalRuntimeJars, setConnectors, setContextPath, setDaemon, setHttpPort, setJettyConfig, setOverrideWebXml, setReload, setRequestLog, setScanIntervalSeconds, setScannerListeners, setServer, setStopKey, setStopPort, setTmpDirectory, setUserRealms, setWebAppConfig, setWebDefaultXml, startConsoleScanner, startJetty, startJettyInternal, validateConfiguration

Methods inherited from class ConventionTask
conv, conventionMapping, conventionMapping, conventionProperty, getConventionAwareHelper, getConventionMapping, setConventionAwareHelper, setConventionMapping

Methods inherited from class DefaultTask
leftShift, methodMissing, propertyMissing

Methods inherited from class AbstractTask
captureStandardOutput, compareTo, defineProperty, deleteAllActions, dependsOn, dependsOnTaskDidWork, disableStandardOutputCapture, doFirst, doLast, equals, execute, getActions, getAdditionalProperties, getAnt, getConvention, getDependsOn, getDescription, getDidWork, getDynamicObjectHelper, getEnabled, getExecuted, getLogger, getName, getPath, getProject, getSkipProperties, getStandardOutputCapture, getTaskDependencies, hasProperty, hashCode, isDidWork, isEnabled, isExecuted, onlyIf, onlyIf, property, setActions, setAdditionalProperties, setDependsOn, setDescription, setDidWork, setEnabled, setExecuted, setName, setProject, setProperty, setSkipProperties, setStandardOutputCapture, toString

Methods inherited from class java.lang.Object
hashCode, getClass, equals, toString, wait, wait, wait, notify, notifyAll

Constructor Detail

### JettyRunWar

    public JettyRunWar(Project project, java.lang.String name)

Method Detail

### configureScanner

    public void configureScanner()

### configureWebApplication

    public void configureWebApplication()

### finishConfigurationBeforeStart

    public void finishConfigurationBeforeStart()

  see:
    AbstractJettyRunTask#finishConfigurationBeforeStart()

### getWebApp

    public File getWebApp()

### restartWebApp

    public void restartWebApp(boolean reconfigureScanner)

### setWebApp

    public void setWebApp(File webApp)

### validateConfiguration

    public void validateConfiguration()

  see:
    AbstractJettyRunTask#validateConfiguration()

Groovy Documentation