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.
Task.Namer
consoleScanner, PORT_SYSPROPERTY, reload, scannerListeners
TASK_ACTION, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE
コンストラクタと説明 |
---|
JettyRunWar() |
修飾子とタイプ | メソッドと説明 |
---|---|
void |
applyJettyXml() |
void |
configureScanner() |
void |
configureWebApplication()
Subclasses should invoke this to setup basic info on the webapp.
|
org.gradle.api.plugins.jetty.internal.JettyPluginServer |
createServer()
create a proxy that wraps a particular jetty version Server object.
|
void |
finishConfigurationBeforeStart() |
File |
getWebApp()
Returns the web application to deploy.
|
void |
restartWebApp(boolean reconfigureScanner) |
void |
setWebApp(File webApp) |
void |
validateConfiguration() |
findJettyWebXmlFile, getAdditionalRuntimeJars, getConnectors, getContextPath, getHttpPort, getJettyConfig, getOverrideWebXml, getReload, getRequestLog, getScanIntervalSeconds, getScanner, getScannerListeners, getServer, getStopKey, getStopPort, getUserRealms, getWebAppConfig, getWebDefaultXml, isDaemon, setAdditionalRuntimeJars, setConnectors, setContextPath, setDaemon, setHttpPort, setJettyConfig, setOverrideWebXml, setReload, setRequestLog, setScanIntervalSeconds, setScannerListeners, setServer, setStopKey, setStopPort, setUserRealms, setWebAppConfig, setWebDefaultXml, start, startConsoleScanner, startJetty, startJettyInternal
conventionMapping, conventionMapping, getConventionMapping
addValidator, compareTo, configure, deleteAllActions, dependsOn, dependsOnTaskDidWork, doFirst, doFirst, doLast, doLast, execute, executeWithoutThrowingTaskFailure, finalizedBy, getActions, getAnt, getAsDynamicObject, getConvention, getDependsOn, getDescription, getDidWork, getEnabled, getExecuter, getExtensions, getFinalizedBy, getGroup, getImpliesSubProjects, getInputs, getLogger, getLogging, getMustRunAfter, getName, getOnlyIf, getOutputs, getPath, getProject, getServices, getShouldRunAfter, getStandardOutputCapture, getState, getTaskActions, getTaskDependencies, getTemporaryDir, getTemporaryDirFactory, getValidators, hasProperty, injectIntoNewInstance, isEnabled, leftShift, mustRunAfter, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setExecuter, setFinalizedBy, setGroup, setImpliesSubProjects, setMustRunAfter, setName, setOnlyIf, setOnlyIf, setProject, setProperty, setShouldRunAfter, shouldRunAfter, toString
public void configureWebApplication() throws Exception
AbstractJettyRunTask
configureWebApplication
クラス内 AbstractJettyRunTask
Exception
public void validateConfiguration()
public void configureScanner()
configureScanner
クラス内 AbstractJettyRunTask
public void restartWebApp(boolean reconfigureScanner) throws Exception
restartWebApp
クラス内 AbstractJettyRunTask
Exception
public void finishConfigurationBeforeStart()
@InputFile public File getWebApp()
public void setWebApp(File webApp)
public void applyJettyXml() throws Exception
applyJettyXml
クラス内 AbstractJettyRunTask
Exception
public org.gradle.api.plugins.jetty.internal.JettyPluginServer createServer() throws Exception
AbstractJettyRunTask
createServer
クラス内 AbstractJettyRunTask
Exception