Enum NamingStrategy.ExampleName

java.lang.Object
java.lang.Enum<NamingStrategy.ExampleName>
io.cucumber.query.NamingStrategy.ExampleName
All Implemented Interfaces:
Serializable, Comparable<NamingStrategy.ExampleName>, java.lang.constant.Constable
Enclosing class:
NamingStrategy

public static enum NamingStrategy.ExampleName extends Enum<NamingStrategy.ExampleName>
  • Enum Constant Details

    • NUMBER

      public static final NamingStrategy.ExampleName NUMBER
      Number examples, for example #1.2
    • PICKLE

      public static final NamingStrategy.ExampleName PICKLE
      Use the name of the pickle associated with the example. For example Eating 6 cucumbers.
    • NUMBER_AND_PICKLE_IF_PARAMETERIZED

      public static final NamingStrategy.ExampleName NUMBER_AND_PICKLE_IF_PARAMETERIZED
      Number examples, and if the pickle name is parameterized include it too. For example #1.2: Eating 6 cucumbers.
  • Method Details

    • values

      public static NamingStrategy.ExampleName[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static NamingStrategy.ExampleName 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 name
      NullPointerException - if the argument is null