hudson.plugins.sauce_ondemand
Class BrowserAxis

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<hudson.matrix.Axis>
      extended by hudson.matrix.Axis
          extended by hudson.plugins.sauce_ondemand.BrowserAxis
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.matrix.Axis>, Comparable<hudson.matrix.Axis>, Iterable<String>
Direct Known Subclasses:
SeleniumRCAxis, WebDriverAxis

public abstract class BrowserAxis
extends hudson.matrix.Axis

Axis that configures SELENIUM_DRIVER.

Author:
Kohsuke Kawaguchi

Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
 
Fields inherited from class hudson.matrix.Axis
name, values
 
Constructor Summary
BrowserAxis(List<String> values)
           
 
Method Summary
 void addBuildVariable(String value, Map<String,String> map)
          Adds the browser URI to the environment map.
 boolean hasValue(String v)
           
 
Methods inherited from class hudson.matrix.Axis
all, compareTo, getDescriptor, getName, getValues, getValueString, indexOf, isSystem, iterator, parsePrefixed, readResolve, size, toString, value
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BrowserAxis

public BrowserAxis(List<String> values)
Method Detail

hasValue

public boolean hasValue(String v)

addBuildVariable

public void addBuildVariable(String value,
                             Map<String,String> map)
Adds the browser URI to the environment map. Will override any values set in SauceOnDemandBuildWrapper.setUp(hudson.model.AbstractBuild, hudson.Launcher, hudson.model.BuildListener)

Overrides:
addBuildVariable in class hudson.matrix.Axis
Parameters:
value -
map -


Copyright © 2004-2012. All Rights Reserved.