java.lang.Object
java.lang.Enum<Node.Type>
io.cucumber.cucumberexpressions.Node.Type
All Implemented Interfaces:
Serializable, Comparable<Node.Type>, Constable
Enclosing class:
Node

public static enum Node.Type extends Enum<Node.Type>
  • Enum Constant Details

    • TEXT_NODE

      public static final Node.Type TEXT_NODE
    • OPTIONAL_NODE

      public static final Node.Type OPTIONAL_NODE
    • ALTERNATION_NODE

      public static final Node.Type ALTERNATION_NODE
    • ALTERNATIVE_NODE

      public static final Node.Type ALTERNATIVE_NODE
    • PARAMETER_NODE

      public static final Node.Type PARAMETER_NODE
    • EXPRESSION_NODE

      public static final Node.Type EXPRESSION_NODE
  • Method Details

    • values

      public static Node.Type[] 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

      public static Node.Type valueOf(String name)
      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 name
      NullPointerException - if the argument is null