Enum ConstructionStrategy
- java.lang.Object
-
- java.lang.Enum<ConstructionStrategy>
-
- net.thucydides.core.steps.construction.ConstructionStrategy
-
- All Implemented Interfaces:
Serializable
,Comparable<ConstructionStrategy>
public enum ConstructionStrategy extends Enum<ConstructionStrategy>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONSTRUCTOR_WITH_PARAMETERS
DEFAULT_CONSTRUCTOR
INNER_CLASS_CONSTRUCTOR
STEP_LIBRARY_WITH_PAGES
STEP_LIBRARY_WITH_WEBDRIVER
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ConstructionStrategy
valueOf(String name)
Returns the enum constant of this type with the specified name.static ConstructionStrategy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT_CONSTRUCTOR
public static final ConstructionStrategy DEFAULT_CONSTRUCTOR
-
STEP_LIBRARY_WITH_WEBDRIVER
public static final ConstructionStrategy STEP_LIBRARY_WITH_WEBDRIVER
-
STEP_LIBRARY_WITH_PAGES
public static final ConstructionStrategy STEP_LIBRARY_WITH_PAGES
-
CONSTRUCTOR_WITH_PARAMETERS
public static final ConstructionStrategy CONSTRUCTOR_WITH_PARAMETERS
-
INNER_CLASS_CONSTRUCTOR
public static final ConstructionStrategy INNER_CLASS_CONSTRUCTOR
-
-
Method Detail
-
values
public static ConstructionStrategy[] 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 (ConstructionStrategy c : ConstructionStrategy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConstructionStrategy 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
-
-