Class Scenario
- java.lang.Object
-
- de.gematik.test.tiger.lib.parser.model.gherkin.GherkinStruct
-
- de.gematik.test.tiger.lib.parser.model.gherkin.Scenario
-
- Direct Known Subclasses:
Background,ScenarioOutline
public class Scenario extends GherkinStruct
-
-
Field Summary
-
Fields inherited from class de.gematik.test.tiger.lib.parser.model.gherkin.GherkinStruct
STRUCT_I18N_MAP, STRUCT_NAMES
-
-
Constructor Summary
Constructors Constructor Description Scenario()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddStep(Step step, String header, StringBuilder sb)protected booleancanEqual(Object other)booleanequals(Object o)FeaturegetFeature()List<Step>getSteps()TaggetTag(String tagName)inthashCode()booleanhasTag(String tagName)voidsetFeature(Feature feature)voidsetSteps(List<Step> steps)org.json.JSONObjecttoPolarionJSON()StringtoString()-
Methods inherited from class de.gematik.test.tiger.lib.parser.model.gherkin.GherkinStruct
getDescription, getName, getTags, setDescription, setName, setTags
-
-
-
-
Method Detail
-
getTag
public Tag getTag(String tagName)
- Overrides:
getTagin classGherkinStruct
-
hasTag
public boolean hasTag(String tagName)
-
toString
public String toString()
- Overrides:
toStringin classGherkinStruct
-
toPolarionJSON
public org.json.JSONObject toPolarionJSON()
-
addStep
protected void addStep(Step step, String header, StringBuilder sb)
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classGherkinStruct
-
canEqual
protected boolean canEqual(Object other)
- Overrides:
canEqualin classGherkinStruct
-
hashCode
public int hashCode()
- Overrides:
hashCodein classGherkinStruct
-
getFeature
public Feature getFeature()
-
setFeature
public void setFeature(Feature feature)
-
-