|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.gradle.api.internal.ConventionTask org.gradle.api.plugins.jetty.AbstractJettyRunTask org.gradle.api.plugins.jetty.JettyRun
public class JettyRun extends AbstractJettyRunTask
Deploys an exploded web application to an embedded Jetty web container. Does not require that the web application be assembled into a war, saving time during the development cycle.
Once started, the web container can be configured to run continuously, scanning for changes in the project and automatically performing a hot redeploy when necessary. This allows the developer to concentrate on coding changes to the project using their IDE of choice and have those changes immediately and transparently reflected in the running web container, eliminating development time that is wasted on rebuilding, reassembling and redeploying.
Field Summary |
---|
Fields inherited from class AbstractJettyRunTask | |
---|---|
PORT_SYSPROPERTY, consoleScanner, reload, scannerListeners |
Method Detail |
---|
public void applyJettyXml()
public void configureScanner()
public void configureWebApplication()
public JettyPluginServer createServer()
public void finishConfigurationBeforeStart()
public List getClassPathFiles()
@InputFiles public FileCollection getClasspath()
public ContextHandler[] getConfiguredContextHandlers()
public Set getExtraScanTargets()
@InputFile @Optional public File getJettyEnvXml()
@InputFile @Optional public File getJettyEnvXmlFile()
public ScanTargetPattern[] getScanTargetPatterns()
public File[] getScanTargets()
@InputDirectory public File getWebAppSourceDirectory()
public File getWebXml()
public void restartWebApp(boolean reconfigureScanner)
public void setClassPathFiles(List classPathFiles)
public void setClasspath(FileCollection classpath)
public void setContextHandlers(ContextHandler[] contextHandlers)
public void setExtraScanTargets(Iterable extraScanTargets)
public void setJettyEnvXml(File jettyEnvXml)
public void setJettyEnvXmlFile(File jettyEnvXmlFile)
public void setScanTargetPatterns(ScanTargetPattern[] scanTargetPatterns)
public void setScanTargets(File[] scanTargets)
public void setWebAppSourceDirectory(File webAppSourceDirectory)
public void setWebXml(File webXml)
public void validateConfiguration()
Gradle API 1.12