hudson.plugins.sauce_ondemand
Enum Browser

java.lang.Object
  extended by java.lang.Enum<Browser>
      extended by hudson.plugins.sauce_ondemand.Browser
All Implemented Interfaces:
Serializable, Comparable<Browser>

public enum Browser
extends Enum<Browser>

Type-safe enums for browsers that are available on Sauce OnDemand.

Author:
Kohsuke Kawaguchi

Enum Constant Summary
Firefox2_0_proxy_Windows2003
           
Firefox2_0_Windows2003
           
Firefox3_0_Linux
           
Firefox3_0_proxy_Linux
           
Firefox3_0_proxy_Windows2003
           
Firefox3_0_Windows2003
           
Firefox3_5_proxy_Windows2003
           
Firefox3_5_Windows2003
           
Firefox3_6_proxy_Windows2003
           
Firefox3_6_Windows2003
           
GoogleChrome_Windows2003
           
IE6_proxy_Windows2003
           
IE6_Windows2003
           
IE7_proxy_Windows2003
           
IE7_Windows2003
           
IE8_proxy_Windows2003
           
IE8_Windows2003
           
Opera10_Windows2003
           
Opera9_Windows2003
           
Safari3_proxy
           
Safari3_Windows2003
           
Safari4_proxy
           
Safari4_Windows2003
           
Safari5_proxy
           
Safari5_Windows2003
           
 
Field Summary
 String browser
           
 String browser_version
           
 String displayName
           
 String os
           
 
Method Summary
 String getUri()
          Returns the driver URI string.
static Browser valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Browser[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Firefox2_0_Windows2003

public static final Browser Firefox2_0_Windows2003

Firefox3_0_Windows2003

public static final Browser Firefox3_0_Windows2003

Firefox3_5_Windows2003

public static final Browser Firefox3_5_Windows2003

Firefox3_6_Windows2003

public static final Browser Firefox3_6_Windows2003

Firefox2_0_proxy_Windows2003

public static final Browser Firefox2_0_proxy_Windows2003

Firefox3_0_proxy_Windows2003

public static final Browser Firefox3_0_proxy_Windows2003

Firefox3_5_proxy_Windows2003

public static final Browser Firefox3_5_proxy_Windows2003

Firefox3_6_proxy_Windows2003

public static final Browser Firefox3_6_proxy_Windows2003

GoogleChrome_Windows2003

public static final Browser GoogleChrome_Windows2003

IE6_Windows2003

public static final Browser IE6_Windows2003

IE7_Windows2003

public static final Browser IE7_Windows2003

IE8_Windows2003

public static final Browser IE8_Windows2003

IE6_proxy_Windows2003

public static final Browser IE6_proxy_Windows2003

IE7_proxy_Windows2003

public static final Browser IE7_proxy_Windows2003

IE8_proxy_Windows2003

public static final Browser IE8_proxy_Windows2003

Opera9_Windows2003

public static final Browser Opera9_Windows2003

Opera10_Windows2003

public static final Browser Opera10_Windows2003

Safari3_Windows2003

public static final Browser Safari3_Windows2003

Safari4_Windows2003

public static final Browser Safari4_Windows2003

Safari5_Windows2003

public static final Browser Safari5_Windows2003

Safari3_proxy

public static final Browser Safari3_proxy

Safari4_proxy

public static final Browser Safari4_proxy

Safari5_proxy

public static final Browser Safari5_proxy

Firefox3_0_Linux

public static final Browser Firefox3_0_Linux

Firefox3_0_proxy_Linux

public static final Browser Firefox3_0_proxy_Linux
Field Detail

browser

public final String browser

browser_version

public final String browser_version

os

public final String os

displayName

public final String displayName
Method Detail

values

public static Browser[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (Browser c : Browser.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Browser valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getUri

public String getUri()
Returns the driver URI string.



Copyright © 2004-2011. All Rights Reserved.