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.ModelObject, hudson.model.Saveable, java.io.Serializable

@ExportedBean
public class PluginImpl
extends hudson.Plugin
implements hudson.model.Action, java.io.Serializable

Starts Selenium Grid server in another JVM.

Author:
Kohsuke Kawaguchi
See Also:
Serialized Form

Nested Class Summary
 
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()
           
 java.lang.String getDisplayName()
           
 java.lang.String getExclusionPatterns()
           
 java.lang.String getIconFileName()
           
 java.io.File getLogFile()
           
 int getPort()
           
 boolean getRcBrowserSideLog()
           
 boolean getRcDebug()
           
 java.lang.String getRcFirefoxProfileTemplate()
           
 java.lang.String getRcLog()
           
 java.util.List<SeleniumRemoteControl> getRemoteControls()
           
 java.lang.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 java.lang.Exception
Overrides:
start in class hudson.Plugin
Throws:
java.lang.Exception

getLogFile

public java.io.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 java.util.concurrent.ExecutionException,
                             java.lang.InterruptedException
Throws:
java.util.concurrent.ExecutionException
java.lang.InterruptedException

getIconFileName

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

getDisplayName

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

getUrlName

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

getApi

public hudson.model.Api getApi()

getPort

@Exported
public int getPort()

getExclusionPatterns

@Exported
public java.lang.String getExclusionPatterns()

getRcLog

@Exported
public java.lang.String getRcLog()

getRcBrowserSideLog

@Exported
public boolean getRcBrowserSideLog()

getRcDebug

@Exported
public boolean getRcDebug()

getRcFirefoxProfileTemplate

@Exported
public java.lang.String getRcFirefoxProfileTemplate()

stop

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

getRemoteControls

@Exported(inline=true)
public java.util.List<SeleniumRemoteControl> getRemoteControls()
                                                        throws java.io.IOException,
                                                               java.lang.InterruptedException
Throws:
java.io.IOException
java.lang.InterruptedException

doProgressiveLog

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

Throws:
java.io.IOException


Copyright © 2009. All Rights Reserved.