Enum BrowserFamily
- java.lang.Object
-
- java.lang.Enum<BrowserFamily>
-
- org.nuxeo.runtime.test.runner.web.BrowserFamily
-
- All Implemented Interfaces:
Serializable
,Comparable<BrowserFamily>
public enum BrowserFamily extends Enum<BrowserFamily>
- Author:
- Bogdan Stefanescu
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHROME
FIREFOX
HTML_UNIT
HTML_UNIT_JS
IE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DriverFactory
getDriverFactory()
static BrowserFamily
valueOf(String name)
Returns the enum constant of this type with the specified name.static BrowserFamily[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FIREFOX
public static final BrowserFamily FIREFOX
-
IE
public static final BrowserFamily IE
-
CHROME
public static final BrowserFamily CHROME
-
HTML_UNIT
public static final BrowserFamily HTML_UNIT
-
HTML_UNIT_JS
public static final BrowserFamily HTML_UNIT_JS
-
-
Method Detail
-
values
public static BrowserFamily[] 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 (BrowserFamily c : BrowserFamily.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BrowserFamily 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 nameNullPointerException
- if the argument is null
-
getDriverFactory
public DriverFactory getDriverFactory()
-
-