|
Ajocado API 1.0.0.Alpha2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<BrowserType>
org.jboss.arquillian.ajocado.browser.BrowserType
public enum BrowserType
Enumeration of supported browsers.
This enum has direct association to browser modes, see BrowserMode.
| Enum Constant Summary | |
|---|---|
FIREFOX
The Mozilla Firefox browser |
|
GOOGLE_CHROME
The Google Chrome browser |
|
IEXPLORE
The Internet Explorer browser |
|
KONQUEROR
The Konqueror browser |
|
MOCK
Mock browser |
|
OPERA
The Opera browser |
|
SAFARI
The Safari browser |
|
| Method Summary | |
|---|---|
static BrowserType |
parseType(String browserType)
Parses the type in case-insensitive manner. |
static EnumSet<BrowserType> |
parseTypes(String browserTypesEnumeration)
Returns set of browser types derived from string enumeration of comma- and/or space-separated representation of browser types ( parseType(String)). |
static BrowserType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static BrowserType[] |
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 |
|---|
public static final BrowserType FIREFOX
public static final BrowserType IEXPLORE
public static final BrowserType SAFARI
public static final BrowserType OPERA
public static final BrowserType GOOGLE_CHROME
public static final BrowserType KONQUEROR
public static final BrowserType MOCK
| Method Detail |
|---|
public static BrowserType[] values()
for (BrowserType c : BrowserType.values()) System.out.println(c);
public static BrowserType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic static BrowserType parseType(String browserType)
browserType - the browser type
IllegalArgumentException - if the given browserMode isn't supportedpublic static EnumSet<BrowserType> parseTypes(String browserTypesEnumeration)
Returns set of browser types derived from string enumeration of comma- and/or space-separated representation of
browser types (parseType(String)).
browserTypesEnumeration - comma and/or spaces separated string enumeration of string representation of browser types
IllegalArgumentException - if one of the given browser modes isn't supported
|
Ajocado API 1.0.0.Alpha2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||