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.NamerconsoleScanner, PORT_SYSPROPERTY, reload, scannerListenersTASK_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, startJettyInternalconventionMapping, conventionMapping, getConventionMappingaddValidator, 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, toStringpublic void configureWebApplication()
throws Exception
AbstractJettyRunTaskconfigureWebApplication クラス内 AbstractJettyRunTaskExceptionpublic void validateConfiguration()
public void configureScanner()
configureScanner クラス内 AbstractJettyRunTaskpublic void restartWebApp(boolean reconfigureScanner)
throws Exception
restartWebApp クラス内 AbstractJettyRunTaskExceptionpublic void finishConfigurationBeforeStart()
@InputFile public File getWebApp()
public void setWebApp(File webApp)
public void applyJettyXml()
throws Exception
applyJettyXml クラス内 AbstractJettyRunTaskExceptionpublic org.gradle.api.plugins.jetty.internal.JettyPluginServer createServer()
throws Exception
AbstractJettyRunTaskcreateServer クラス内 AbstractJettyRunTaskException