Package org.pentaho.di.www
Class WebServer
java.lang.Object
org.pentaho.di.www.WebServer
-
Field Summary
-
Constructor Summary
ConstructorDescriptionWebServer
(org.pentaho.di.core.logging.LogChannelInterface log, TransformationMap transformationMap, JobMap jobMap, SocketRepository socketRepository, List<SlaveServerDetection> slaveServers, String hostname, int port) WebServer
(org.pentaho.di.core.logging.LogChannelInterface log, TransformationMap transformationMap, JobMap jobMap, SocketRepository socketRepository, List<SlaveServerDetection> detections, String hostname, int port, boolean join) WebServer
(org.pentaho.di.core.logging.LogChannelInterface log, TransformationMap transformationMap, JobMap jobMap, SocketRepository socketRepository, List<SlaveServerDetection> detections, String hostname, int port, boolean join, String passwordFile) WebServer
(org.pentaho.di.core.logging.LogChannelInterface log, TransformationMap transformationMap, JobMap jobMap, SocketRepository socketRepository, List<SlaveServerDetection> detections, String hostname, int port, boolean join, String passwordFile, SslConfiguration sslConfig) -
Method Summary
Modifier and TypeMethodDescriptionint
getContextPath
(CartePluginInterface servlet) org.pentaho.di.core.logging.LogChannelInterface
getLog()
int
getPort()
org.eclipse.jetty.server.Server
void
join()
void
setDetections
(List<SlaveServerDetection> detections) void
setHostname
(String hostname) void
void
setLog
(org.pentaho.di.core.logging.LogChannelInterface log) void
setPasswordFile
(String passwordFile) void
setPort
(int port) void
setServer
(org.eclipse.jetty.server.Server server) void
setSlaveMonitoringTimer
(Timer slaveMonitoringTimer) void
setSocketRepository
(SocketRepository socketRepository) void
setTransformationMap
(TransformationMap transformationMap) void
setWebServerShutdownHandler
(IWebServerShutdownHandler webServerShutdownHandler) Can be used to override the default shutdown behavior of performing a System.exitvoid
void
-
Field Details
-
SERVICE_NAME
- See Also:
-
PORT
public static final int PORT- See Also:
-
-
Constructor Details
-
WebServer
public WebServer(org.pentaho.di.core.logging.LogChannelInterface log, TransformationMap transformationMap, JobMap jobMap, SocketRepository socketRepository, List<SlaveServerDetection> detections, String hostname, int port, boolean join, String passwordFile) throws Exception - Throws:
Exception
-
WebServer
public WebServer(org.pentaho.di.core.logging.LogChannelInterface log, TransformationMap transformationMap, JobMap jobMap, SocketRepository socketRepository, List<SlaveServerDetection> detections, String hostname, int port, boolean join, String passwordFile, SslConfiguration sslConfig) throws Exception - Throws:
Exception
-
WebServer
public WebServer(org.pentaho.di.core.logging.LogChannelInterface log, TransformationMap transformationMap, JobMap jobMap, SocketRepository socketRepository, List<SlaveServerDetection> slaveServers, String hostname, int port) throws Exception - Throws:
Exception
-
WebServer
public WebServer(org.pentaho.di.core.logging.LogChannelInterface log, TransformationMap transformationMap, JobMap jobMap, SocketRepository socketRepository, List<SlaveServerDetection> detections, String hostname, int port, boolean join) throws Exception - Throws:
Exception
-
-
Method Details
-
getServer
public org.eclipse.jetty.server.Server getServer() -
startServer
- Throws:
Exception
-
getContextPath
-
join
- Throws:
InterruptedException
-
stopServer
public void stopServer() -
getHostname
- Returns:
- the hostname
-
setHostname
- Parameters:
hostname
- the hostname to set
-
getDetections
- Returns:
- the slave server detections
-
getSocketRepository
- Returns:
- the socketRepository
-
setSocketRepository
- Parameters:
socketRepository
- the socketRepository to set
-
getPasswordFile
-
setPasswordFile
-
getLog
public org.pentaho.di.core.logging.LogChannelInterface getLog() -
setLog
public void setLog(org.pentaho.di.core.logging.LogChannelInterface log) -
getTransformationMap
-
setTransformationMap
-
getJobMap
-
setJobMap
-
getPort
public int getPort() -
setPort
public void setPort(int port) -
getSlaveMonitoringTimer
-
setSlaveMonitoringTimer
-
setServer
public void setServer(org.eclipse.jetty.server.Server server) -
setDetections
-
setWebServerShutdownHandler
Can be used to override the default shutdown behavior of performing a System.exit- Parameters:
webServerShutdownHandler
-
-
defaultDetectionTimer
public int defaultDetectionTimer()
-