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.
|
java.io.File |
getJettyXml() |
java.lang.String |
getRequestLog() |
int |
getScanIntervalSeconds() |
java.lang.String |
getStopKey() |
int |
getStopPort() |
java.io.File |
getTempDirectory() |
boolean |
isDaemon() |
void |
setDaemon(boolean daemon) |
void |
setJettyPort(int jettyPort)
Sets the port Jetty uses for the default connector.
|
void |
setJettyXml(java.io.File jettyXml) |
void |
setRequestLog(java.lang.String className) |
void |
setScanIntervalSeconds(int secs) |
void |
setStopKey(java.lang.String stopKey) |
void |
setStopPort(int stopPort) |
void |
setTempDirectory(java.io.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.webapp
- the webapp contextpublic void addConnectors(Connectors connectors)
connectors
- the connectorspublic void addLoginServices(LoginServices services)
public void addSystemProperties(SystemProperties systemProperties)
public void addContextHandlers(ContextHandlers handlers)
public java.io.File getTempDirectory()
public void setTempDirectory(java.io.File tempDirectory)
public java.io.File getJettyXml()
public void setJettyXml(java.io.File jettyXml)
public void setRequestLog(java.lang.String className)
public java.lang.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
- if unable to buildpublic int getStopPort()
public void setStopPort(int stopPort)
public java.lang.String getStopKey()
public void setStopKey(java.lang.String stopKey)
public boolean isDaemon()
public void setDaemon(boolean daemon)
daemon
- the daemon to setpublic int getScanIntervalSeconds()
public void setScanIntervalSeconds(int secs)
Copyright © 1995–2023 Webtide. All rights reserved.