hudson.plugins.selenium
Class PluginImpl

java.lang.Object
  extended by hudson.Plugin
      extended by hudson.plugins.selenium.PluginImpl
All Implemented Interfaces:
hudson.model.Action, hudson.model.Describable<PluginImpl>, hudson.model.ModelObject, hudson.model.Saveable, Serializable

@ExportedBean
public class PluginImpl
extends hudson.Plugin
implements hudson.model.Action, Serializable, hudson.model.Describable<PluginImpl>

Starts Selenium Grid server in another JVM.

Author:
Kohsuke Kawaguchi
See Also:
Serialized Form

Nested Class Summary
static class PluginImpl.DescriptorImpl
           
 
Nested classes/interfaces inherited from class hudson.Plugin
hudson.Plugin.DummyImpl
 
Field Summary
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Constructor Summary
PluginImpl()
           
 
Method Summary
 void configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
           
 void doProgressiveLog(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
          Handles incremental log.
 hudson.model.Api getApi()
           
 hudson.model.Descriptor<PluginImpl> getDescriptor()
           
 String getDisplayName()
           
 String getExclusionPatterns()
           
 String getHubLogLevel()
           
 String getIconFileName()
           
 File getLogFile()
           
static String getMasterHostName()
          Determines the host name of the Jenkins master.
 int getPort()
           
 boolean getRcBrowserSessionReuse()
           
 boolean getRcBrowserSideLog()
           
 boolean getRcDebug()
           
 String getRcFirefoxProfileTemplate()
           
 String getRcLog()
           
 boolean getRcTrustAllSSLCerts()
           
 List<SeleniumTestSlot> getRemoteControls()
           
 String getUrlName()
           
 void start()
           
 void stop()
           
 void waitForHubLaunch()
           
 
Methods inherited from class hudson.Plugin
configure, doDynamic, getConfigXml, load, postInitialize, save, setServletContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginImpl

public PluginImpl()
Method Detail

start

public void start()
           throws Exception
Overrides:
start in class hudson.Plugin
Throws:
Exception

getLogFile

public File getLogFile()

configure

public void configure(org.kohsuke.stapler.StaplerRequest req,
                      net.sf.json.JSONObject formData)
Overrides:
configure in class hudson.Plugin

waitForHubLaunch

public void waitForHubLaunch()
                      throws ExecutionException,
                             InterruptedException
Throws:
ExecutionException
InterruptedException

getIconFileName

public String getIconFileName()
Specified by:
getIconFileName in interface hudson.model.Action

getDisplayName

public String getDisplayName()
Specified by:
getDisplayName in interface hudson.model.Action
Specified by:
getDisplayName in interface hudson.model.ModelObject

getUrlName

public String getUrlName()
Specified by:
getUrlName in interface hudson.model.Action

getApi

public hudson.model.Api getApi()

getPort

@Exported
public int getPort()

getExclusionPatterns

@Exported
public String getExclusionPatterns()

getRcLog

@Exported
public String getRcLog()

getRcBrowserSideLog

@Exported
public boolean getRcBrowserSideLog()

getRcDebug

@Exported
public boolean getRcDebug()

getRcTrustAllSSLCerts

@Exported
public boolean getRcTrustAllSSLCerts()

getRcBrowserSessionReuse

@Exported
public boolean getRcBrowserSessionReuse()

getRcFirefoxProfileTemplate

@Exported
public String getRcFirefoxProfileTemplate()

getHubLogLevel

@Exported
public String getHubLogLevel()

stop

public void stop()
          throws Exception
Overrides:
stop in class hudson.Plugin
Throws:
Exception

getRemoteControls

@Exported(inline=true)
public List<SeleniumTestSlot> getRemoteControls()
                                         throws IOException,
                                                InterruptedException
Throws:
IOException
InterruptedException

getMasterHostName

public static String getMasterHostName()
                                throws MalformedURLException
Determines the host name of the Jenkins master.

Throws:
MalformedURLException

doProgressiveLog

public void doProgressiveLog(org.kohsuke.stapler.StaplerRequest req,
                             org.kohsuke.stapler.StaplerResponse rsp)
                      throws IOException
Handles incremental log.

Throws:
IOException

getDescriptor

public hudson.model.Descriptor<PluginImpl> getDescriptor()
Specified by:
getDescriptor in interface hudson.model.Describable<PluginImpl>


Copyright © 2004-2011. All Rights Reserved.