Package io.fluentlenium.configuration
Enum Class ConfigurationProperties.DriverLifecycle
java.lang.Object
java.lang.Enum<ConfigurationProperties.DriverLifecycle>
io.fluentlenium.configuration.ConfigurationProperties.DriverLifecycle
- All Implemented Interfaces:
Serializable
,Comparable<ConfigurationProperties.DriverLifecycle>
,Constable
- Enclosing interface:
ConfigurationProperties
public static enum ConfigurationProperties.DriverLifecycle
extends Enum<ConfigurationProperties.DriverLifecycle>
Driver lifecycle.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionWebDriver is created for each test class, and same instance is used for each test method in the class.Default value.WebDriver is created once, and same instance is used for each test class and method.WebDriver is created for each test method, and this instance is used only for one test method.WebDriver is created for each test thread, and this instance is used only for one test method. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
JVM
WebDriver is created once, and same instance is used for each test class and method. -
CLASS
WebDriver is created for each test class, and same instance is used for each test method in the class. -
METHOD
WebDriver is created for each test method, and this instance is used only for one test method. -
THREAD
WebDriver is created for each test thread, and this instance is used only for one test method. -
DEFAULT
Default value.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-