hudson.plugins.sauce_ondemand
Class SauceOnDemandBuildWrapper

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<hudson.tasks.BuildWrapper>
      extended by hudson.tasks.BuildWrapper
          extended by hudson.plugins.sauce_ondemand.SauceOnDemandBuildWrapper
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.BuildWrapper>, Serializable

public class SauceOnDemandBuildWrapper
extends hudson.tasks.BuildWrapper
implements Serializable

BuildWrapper that sets up the Sauce OnDemand SSH tunnel.

Author:
Kohsuke Kawaguchi
See Also:
Serialized Form

Nested Class Summary
static class SauceOnDemandBuildWrapper.DescriptorImpl
           
 
Nested classes/interfaces inherited from class hudson.tasks.BuildWrapper
hudson.tasks.BuildWrapper.Environment
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
SauceOnDemandBuildWrapper(Credentials credentials, SeleniumInformation seleniumInformation, String seleniumHost, int seleniumPort, boolean enableSauceConnect, List<String> browsers)
           
 
Method Summary
 List<String> getBrowsers()
           
 Credentials getCredentials()
           
 String getSeleniumHost()
           
 SeleniumInformation getSeleniumInformation()
           
 int getSeleniumPort()
           
 boolean isEnableSauceConnect()
           
 void setBrowsers(List<String> browsers)
           
 void setCredentials(Credentials credentials)
           
 void setEnableSauceConnect(boolean enableSauceConnect)
           
 void setSeleniumHost(String seleniumHost)
           
 void setSeleniumInformation(SeleniumInformation seleniumInformation)
           
 void setSeleniumPort(int seleniumPort)
           
 hudson.tasks.BuildWrapper.Environment setUp(hudson.model.AbstractBuild build, hudson.Launcher launcher, hudson.model.BuildListener listener)
           
 
Methods inherited from class hudson.tasks.BuildWrapper
all, decorateLauncher, decorateLogger, getProjectAction, getProjectActions, makeBuildVariables, makeSensitiveBuildVariables, preCheckout, setUp
 
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SauceOnDemandBuildWrapper

@DataBoundConstructor
public SauceOnDemandBuildWrapper(Credentials credentials,
                                                      SeleniumInformation seleniumInformation,
                                                      String seleniumHost,
                                                      int seleniumPort,
                                                      boolean enableSauceConnect,
                                                      List<String> browsers)
Method Detail

setUp

public hudson.tasks.BuildWrapper.Environment setUp(hudson.model.AbstractBuild build,
                                                   hudson.Launcher launcher,
                                                   hudson.model.BuildListener listener)
                                            throws IOException,
                                                   InterruptedException
Overrides:
setUp in class hudson.tasks.BuildWrapper
Throws:
IOException
InterruptedException

getSeleniumHost

public String getSeleniumHost()

setSeleniumHost

public void setSeleniumHost(String seleniumHost)

getSeleniumPort

public int getSeleniumPort()

setSeleniumPort

public void setSeleniumPort(int seleniumPort)

getCredentials

public Credentials getCredentials()

setCredentials

public void setCredentials(Credentials credentials)

getSeleniumInformation

public SeleniumInformation getSeleniumInformation()

setSeleniumInformation

public void setSeleniumInformation(SeleniumInformation seleniumInformation)

isEnableSauceConnect

public boolean isEnableSauceConnect()

setEnableSauceConnect

public void setEnableSauceConnect(boolean enableSauceConnect)

getBrowsers

public List<String> getBrowsers()

setBrowsers

public void setBrowsers(List<String> browsers)


Copyright © 2004-2012. All Rights Reserved.