Class Gherkin


  • public class Gherkin
    extends Object
    Main entry point for the Gherkin library
    • Method Detail

      • fromPaths

        public static Stream<io.cucumber.messages.Messages.Envelope> fromPaths​(List<String> paths,
                                                                               boolean includeSource,
                                                                               boolean includeAst,
                                                                               boolean includePickles,
                                                                               io.cucumber.messages.IdGenerator idGenerator)
      • fromSources

        public static Stream<io.cucumber.messages.Messages.Envelope> fromSources​(List<io.cucumber.messages.Messages.Envelope> envelopes,
                                                                                 boolean includeSource,
                                                                                 boolean includeAst,
                                                                                 boolean includePickles,
                                                                                 io.cucumber.messages.IdGenerator idGenerator)
      • fromStream

        public static Stream<io.cucumber.messages.Messages.Envelope> fromStream​(InputStream in)
      • makeSourceEnvelope

        public static io.cucumber.messages.Messages.Envelope makeSourceEnvelope​(String data,
                                                                                String uri)
      • messages

        public Stream<io.cucumber.messages.Messages.Envelope> messages()