Class ReplayableFeature

java.lang.Object
de.gematik.test.tiger.testenvmgr.controller.ReplayableFeature
All Implemented Interfaces:
io.cucumber.core.gherkin.Feature, io.cucumber.plugin.event.Node, io.cucumber.plugin.event.Node.Container<io.cucumber.plugin.event.Node>, io.cucumber.plugin.event.Node.Feature

public class ReplayableFeature extends Object implements io.cucumber.core.gherkin.Feature
Wraps a given feature but delivers only one single pickle on the method getPickles(). In this way we can execute a single test scenario (Pickle).
  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.cucumber.plugin.event.Node

    io.cucumber.plugin.event.Node.Container<T extends io.cucumber.plugin.event.Node>, io.cucumber.plugin.event.Node.Example, io.cucumber.plugin.event.Node.Examples, io.cucumber.plugin.event.Node.Feature, io.cucumber.plugin.event.Node.Rule, io.cucumber.plugin.event.Node.Scenario, io.cucumber.plugin.event.Node.ScenarioOutline
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Collection<io.cucumber.plugin.event.Node>
     
     
    io.cucumber.plugin.event.Location
     
     
    Optional<io.cucumber.plugin.event.Node>
     
     
    io.cucumber.core.gherkin.Pickle
    getPickleAt(io.cucumber.plugin.event.Node node)
     
    List<io.cucumber.core.gherkin.Pickle>
     
     
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.cucumber.plugin.event.Node

    map

    Methods inherited from interface io.cucumber.plugin.event.Node.Container

    findPathTo
  • Constructor Details

    • ReplayableFeature

      public ReplayableFeature()
  • Method Details

    • getPickleAt

      public io.cucumber.core.gherkin.Pickle getPickleAt(io.cucumber.plugin.event.Node node)
      Specified by:
      getPickleAt in interface io.cucumber.core.gherkin.Feature
    • getPickles

      public List<io.cucumber.core.gherkin.Pickle> getPickles()
      Specified by:
      getPickles in interface io.cucumber.core.gherkin.Feature
    • getUri

      public URI getUri()
      Specified by:
      getUri in interface io.cucumber.core.gherkin.Feature
    • getSource

      public String getSource()
      Specified by:
      getSource in interface io.cucumber.core.gherkin.Feature
    • getParseEvents

      public Iterable<?> getParseEvents()
      Specified by:
      getParseEvents in interface io.cucumber.core.gherkin.Feature
    • elements

      public Collection<io.cucumber.plugin.event.Node> elements()
      Specified by:
      elements in interface io.cucumber.plugin.event.Node.Container<io.cucumber.plugin.event.Node>
    • getLocation

      public io.cucumber.plugin.event.Location getLocation()
      Specified by:
      getLocation in interface io.cucumber.plugin.event.Node
    • getKeyword

      public Optional<String> getKeyword()
      Specified by:
      getKeyword in interface io.cucumber.plugin.event.Node
    • getName

      public Optional<String> getName()
      Specified by:
      getName in interface io.cucumber.plugin.event.Node
    • getParent

      public Optional<io.cucumber.plugin.event.Node> getParent()
      Specified by:
      getParent in interface io.cucumber.plugin.event.Node