Package io.github.bonigarcia.wdm.config
Enum DriverManagerType
- java.lang.Object
-
- java.lang.Enum<DriverManagerType>
-
- io.github.bonigarcia.wdm.config.DriverManagerType
-
- All Implemented Interfaces:
Serializable,Comparable<DriverManagerType>
public enum DriverManagerType extends Enum<DriverManagerType>
Types for driver managers.- Since:
- 2.1.0
- Author:
- Boni Garcia
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringbrowserClass()StringgetBrowserName()StringgetBrowserNameLowerCase()StringgetNameLowerCase()static DriverManagerTypevalueOf(String name)Returns the enum constant of this type with the specified name.static DriverManagerTypevalueOfDisplayName(String displayName)static DriverManagerType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CHROME
public static final DriverManagerType CHROME
-
FIREFOX
public static final DriverManagerType FIREFOX
-
OPERA
public static final DriverManagerType OPERA
-
EDGE
public static final DriverManagerType EDGE
-
IEXPLORER
public static final DriverManagerType IEXPLORER
-
CHROMIUM
public static final DriverManagerType CHROMIUM
-
SAFARI
public static final DriverManagerType SAFARI
-
-
Method Detail
-
values
public static DriverManagerType[] 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 (DriverManagerType c : DriverManagerType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DriverManagerType 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
-
browserClass
public String browserClass()
-
getNameLowerCase
public String getNameLowerCase()
-
getBrowserName
public String getBrowserName()
-
getBrowserNameLowerCase
public String getBrowserNameLowerCase()
-
valueOfDisplayName
public static DriverManagerType valueOfDisplayName(String displayName)
-
-