public class JettyRunTask
extends org.apache.tools.ant.Task
Constructor and Description |
---|
JettyRunTask() |
Modifier and Type | Method and Description |
---|---|
void |
addConnectors(Connectors connectors)
Adds a new Ant's connector tag object if it have not been created yet.
|
void |
addContextHandlers(ContextHandlers handlers) |
void |
addLoginServices(LoginServices services) |
void |
addSystemProperties(SystemProperties systemProperties) |
void |
addWebApp(AntWebAppContext webapp)
Creates a new
WebApp Ant object. |
void |
execute()
Executes this Ant task.
|
File |
getJettyXml() |
String |
getRequestLog() |
int |
getScanIntervalSeconds() |
String |
getStopKey() |
int |
getStopPort() |
File |
getTempDirectory() |
boolean |
isDaemon() |
void |
setDaemon(boolean daemon) |
void |
setJettyPort(int jettyPort)
Sets the port Jetty uses for the default connector.
|
void |
setJettyXml(File jettyXml) |
void |
setRequestLog(String className) |
void |
setScanIntervalSeconds(int secs) |
void |
setStopKey(String stopKey) |
void |
setStopPort(int stopPort) |
void |
setTempDirectory(File tempDirectory) |
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
public void addWebApp(AntWebAppContext webapp)
WebApp
Ant object.public void addConnectors(Connectors connectors)
public void addLoginServices(LoginServices services)
services
- public void addSystemProperties(SystemProperties systemProperties)
public void addContextHandlers(ContextHandlers handlers)
handlers
- public File getTempDirectory()
public void setTempDirectory(File tempDirectory)
tempDirectory
- public File getJettyXml()
public void setJettyXml(File jettyXml)
jettyXml
- public void setRequestLog(String className)
className
- public String getRequestLog()
public void setJettyPort(int jettyPort)
jettyPort
- The port Jetty will use for the default connectorpublic void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
public int getStopPort()
public void setStopPort(int stopPort)
public String getStopKey()
public void setStopKey(String stopKey)
public boolean isDaemon()
public void setDaemon(boolean daemon)
daemon
- the daemon to setpublic int getScanIntervalSeconds()
public void setScanIntervalSeconds(int secs)
secs
- Copyright © 1995-2015 Webtide. All Rights Reserved.