Class WebServer

java.lang.Object
org.pentaho.di.www.WebServer

public class WebServer extends Object
  • Field Details

  • Constructor Details

  • Method Details

    • getServer

      public org.eclipse.jetty.server.Server getServer()
    • startServer

      public void startServer() throws Exception
      Throws:
      Exception
    • getContextPath

      public String getContextPath(CartePluginInterface servlet)
    • join

      public void join() throws InterruptedException
      Throws:
      InterruptedException
    • stopServer

      public void stopServer()
    • getHostname

      public String getHostname()
      Returns:
      the hostname
    • setHostname

      public void setHostname(String hostname)
      Parameters:
      hostname - the hostname to set
    • getDetections

      public List<SlaveServerDetection> getDetections()
      Returns:
      the slave server detections
    • getSocketRepository

      public SocketRepository getSocketRepository()
      Returns:
      the socketRepository
    • setSocketRepository

      public void setSocketRepository(SocketRepository socketRepository)
      Parameters:
      socketRepository - the socketRepository to set
    • getPasswordFile

      public String getPasswordFile()
    • setPasswordFile

      public void setPasswordFile(String passwordFile)
    • getLog

      public org.pentaho.di.core.logging.LogChannelInterface getLog()
    • setLog

      public void setLog(org.pentaho.di.core.logging.LogChannelInterface log)
    • getTransformationMap

      public TransformationMap getTransformationMap()
    • setTransformationMap

      public void setTransformationMap(TransformationMap transformationMap)
    • getJobMap

      public JobMap getJobMap()
    • setJobMap

      public void setJobMap(JobMap jobMap)
    • getPort

      public int getPort()
    • setPort

      public void setPort(int port)
    • getSlaveMonitoringTimer

      public Timer getSlaveMonitoringTimer()
    • setSlaveMonitoringTimer

      public void setSlaveMonitoringTimer(Timer slaveMonitoringTimer)
    • setServer

      public void setServer(org.eclipse.jetty.server.Server server)
    • setDetections

      public void setDetections(List<SlaveServerDetection> detections)
    • setWebServerShutdownHandler

      public void setWebServerShutdownHandler(IWebServerShutdownHandler webServerShutdownHandler)
      Can be used to override the default shutdown behavior of performing a System.exit
      Parameters:
      webServerShutdownHandler -
    • defaultDetectionTimer

      public int defaultDetectionTimer()