Enum PresentationMode
- java.lang.Object
-
- java.lang.Enum<PresentationMode>
-
- net.masterthought.cucumber.presentation.PresentationMode
-
- All Implemented Interfaces:
Serializable
,Comparable<PresentationMode>
public enum PresentationMode extends Enum<PresentationMode>
Defines how the report is presented. This list contains supported modes which can be used to define how the report is presented.- Author:
- Damian Szczepanik (damianszczepanik@github)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXPAND_ALL_STEPS
Expands all scenarios by default.PARALLEL_TESTING
Add "target" column to the report, when running the same tests many times.RUN_WITH_JENKINS
Defines additional menu buttons that enables integration with Jenkins.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PresentationMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static PresentationMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RUN_WITH_JENKINS
public static final PresentationMode RUN_WITH_JENKINS
Defines additional menu buttons that enables integration with Jenkins.
-
EXPAND_ALL_STEPS
public static final PresentationMode EXPAND_ALL_STEPS
Expands all scenarios by default.
-
PARALLEL_TESTING
public static final PresentationMode PARALLEL_TESTING
Add "target" column to the report, when running the same tests many times. Value of this column is same as JSON report file name.
-
-
Method Detail
-
values
public static PresentationMode[] 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 (PresentationMode c : PresentationMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PresentationMode 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
-
-