java.lang.Object
io.cucumber.cucumberexpressions.Group

@API(status=STABLE) public final class Group extends Object
  • Method Details

    • getValue

      public @Nullable String getValue()
    • getStart

      public int getStart()
    • getEnd

      public int getEnd()
    • getChildren

      public Optional<List<Group>> getChildren()
      A groups children.

      There are either one or more children or the value is absent.

    • getValues

      public List<@Nullable String> getValues()
    • parse

      public static Collection<Group> parse(Pattern expression)
      Parse a Pattern into collection of Groups
      Parameters:
      expression - the expression to decompose
      Returns:
      A collection of Groups, possibly empty but never null