java.lang.Object
io.cucumber.query.Lineages
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static <T> voidforEachIndexed(List<T> items, BiConsumer<T, Integer> consumer) of(io.cucumber.messages.types.GherkinDocument document) Create map of aGherkinDocumentelement to itsLineagein that document.private static BiConsumer<io.cucumber.messages.types.TableRow, Integer> private static BiConsumer<io.cucumber.messages.types.Examples, Integer> ofExamples(Lineage parent, Map<String, Lineage> elements) private static Consumer<io.cucumber.messages.types.Feature> private static Consumer<io.cucumber.messages.types.FeatureChild> ofFeatureChild(Lineage parent, Map<String, Lineage> elements) private static Consumer<io.cucumber.messages.types.Rule> private static Consumer<io.cucumber.messages.types.RuleChild> ofRuleChild(Lineage parent, Map<String, Lineage> elements) private static Consumer<io.cucumber.messages.types.Scenario> ofScenario(Lineage parent, Map<String, Lineage> elements)
-
Constructor Details
-
Lineages
private Lineages()
-
-
Method Details
-
of
Create map of aGherkinDocumentelement to itsLineagein that document.- Parameters:
document- to create the lineage of- Returns:
- a map of the document elements to their lineage.
-
ofFeature
-
ofFeatureChild
-
ofRule
-
ofRuleChild
-
ofScenario
-
ofExamples
-
ofExample
-
forEachIndexed
-