public enum Browser extends Enum<Browser>
Enum Constant and Description |
---|
ANDROID |
CHROME_ANDROID |
CHROME_DESKTOP |
CHROME_IOS |
EDGE_LEGACY_DESKTOP |
FIREFOX_DESKTOP |
OTHER |
SAFARI_DESKTOP |
SAFARI_IOS |
Modifier and Type | Method and Description |
---|---|
String |
getKey() |
static Browser |
mapStringToBrowser(String value) |
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.
|
public static final Browser EDGE_LEGACY_DESKTOP
public static final Browser FIREFOX_DESKTOP
public static final Browser CHROME_DESKTOP
public static final Browser CHROME_IOS
public static final Browser CHROME_ANDROID
public static final Browser SAFARI_DESKTOP
public static final Browser SAFARI_IOS
public static final Browser ANDROID
public static final Browser OTHER
public static Browser[] values()
for (Browser c : Browser.values()) System.out.println(c);
public static Browser valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getKey()
Copyright © 2002-2022 Atlassian. All Rights Reserved.