Module io.cucumber.prettyformatter
Package io.cucumber.prettyformatter
Enum Class MessagesToPrettyWriter.PrettyFeature
java.lang.Object
java.lang.Enum<MessagesToPrettyWriter.PrettyFeature>
io.cucumber.prettyformatter.MessagesToPrettyWriter.PrettyFeature
- All Implemented Interfaces:
Serializable,Comparable<MessagesToPrettyWriter.PrettyFeature>,Constable
- Enclosing class:
MessagesToPrettyWriter
public static enum MessagesToPrettyWriter.PrettyFeature
extends Enum<MessagesToPrettyWriter.PrettyFeature>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionInclude attachment lines.Include feature lines.Include rule lines.Adds a status icon next to each step line. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static MessagesToPrettyWriter.PrettyFeature[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INCLUDE_FEATURE_LINE
Include feature lines.When executing in parallel the feature and rules lines can make the output even harder to read as they would typically all be emitted at once. Excluding these can make the report more readable in these circumstances.
-
INCLUDE_RULE_LINE
Include rule lines.- See Also:
-
USE_STATUS_ICON
Adds a status icon next to each step line. -
INCLUDE_ATTACHMENTS
Include attachment lines.
-
-
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
-