|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.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
public class JettyRunWar
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 org.gradle.api.plugins.jetty.AbstractJettyRunTask |
|---|
consoleScanner, PORT_SYSPROPERTY, reload, scannerListeners |
| Fields inherited from interface org.gradle.api.Task |
|---|
TASK_ACTION, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_NAME, TASK_OVERWRITE, TASK_TYPE |
| Constructor Summary | |
|---|---|
JettyRunWar()
|
|
| Method Summary | |
|---|---|
void |
configureScanner()
|
void |
configureWebApplication()
Subclasses should invoke this to setup basic info on the webapp |
void |
finishConfigurationBeforeStart()
|
File |
getWebApp()
|
void |
restartWebApp(boolean reconfigureScanner)
|
void |
setWebApp(File webApp)
|
void |
validateConfiguration()
|
| Methods inherited from class org.gradle.api.plugins.jetty.AbstractJettyRunWarTask |
|---|
applyJettyXml, createServer |
| Methods inherited from class org.gradle.api.internal.ConventionTask |
|---|
conventionMapping, getConventionMapping, setConventionMapping |
| Methods inherited from class org.gradle.api.internal.AbstractTask |
|---|
captureStandardOutput, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, disableStandardOutputCapture, doFirst, doFirst, doLast, doLast, equals, execute, getActions, getAdditionalProperties, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDidWork, getDynamicObjectHelper, getEnabled, getExecuter, getGroup, getInputs, getLogger, getLogging, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getStandardOutputCapture, getState, getTaskDependencies, getTemporaryDir, hashCode, hasProperty, injectIntoNewInstance, isEnabled, leftShift, onlyIf, onlyIf, property, setActions, setConvention, setDependsOn, setDescription, setDidWork, setEnabled, setExecuter, setGroup, setName, setOnlyIf, setOnlyIf, setProject, setProperty, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.gradle.api.Task |
|---|
captureStandardOutput, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, disableStandardOutputCapture, doFirst, doFirst, doLast, doLast, getActions, getAnt, getConvention, getDependsOn, getDescription, getDidWork, getEnabled, getGroup, getInputs, getLogger, getLogging, getName, getOutputs, getPath, getProject, getState, getTaskDependencies, getTemporaryDir, hasProperty, leftShift, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setEnabled, setGroup, setOnlyIf, setOnlyIf, setProperty |
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Constructor Detail |
|---|
public JettyRunWar()
| Method Detail |
|---|
public void configureWebApplication()
throws Exception
AbstractJettyRunTask
configureWebApplication in class AbstractJettyRunTaskExceptionpublic void validateConfiguration()
validateConfiguration in class AbstractJettyRunTaskAbstractJettyRunTask.validateConfiguration()public void configureScanner()
configureScanner in class AbstractJettyRunTask
public void restartWebApp(boolean reconfigureScanner)
throws Exception
restartWebApp in class AbstractJettyRunTaskExceptionpublic void finishConfigurationBeforeStart()
finishConfigurationBeforeStart in class AbstractJettyRunTaskAbstractJettyRunTask.finishConfigurationBeforeStart()public File getWebApp()
public void setWebApp(File webApp)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||