|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.gradle.api.internal.ConventionTask
org.gradle.api.plugins.jetty.AbstractJettyRunTask
org.gradle.api.plugins.jetty.JettyRunWar
public class JettyRunWar extends AbstractJettyRunTask
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 | |
|---|---|
| PORT_SYSPROPERTY, consoleScanner, reload, scannerListeners |
| Method Summary | |
|---|---|
void
|
applyJettyXml()
|
void
|
configureScanner()
|
void
|
configureWebApplication()
|
JettyPluginServer
|
createServer()
|
void
|
finishConfigurationBeforeStart()
|
File
|
getWebApp()
Returns the web application to deploy. |
void
|
restartWebApp(boolean reconfigureScanner)
|
void
|
setWebApp(File webApp)
|
void
|
validateConfiguration()
|
| Method Detail |
|---|
public void applyJettyXml()
public void configureScanner()
public void configureWebApplication()
public JettyPluginServer createServer()
public void finishConfigurationBeforeStart()
@InputFile public File getWebApp()
public void restartWebApp(boolean reconfigureScanner)
public void setWebApp(File webApp)
public void validateConfiguration()
Gradle API 1.5