Package com.github.cukedoctor.api.model
Class Scenario
- java.lang.Object
-
- com.github.cukedoctor.api.model.Scenario
-
public class Scenario extends Object
represents a scenario is most of the cases but can be also a background
-
-
Constructor Summary
Constructors Constructor Description Scenario()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetDescription()List<Example>getExamples()StringgetKeyword()StringgetName()StatusgetStatus()StepgetStepByName(String stepName)List<Step>getSteps()List<Tag>getTags()TypegetType()booleanhasExamples()inthashCode()booleanhasIgnoreDocsTag()booleanhasSteps()booleanhasTags()booleanisBackground()voidsetDescription(String description)voidsetExamples(List<Example> examples)voidsetKeyword(String keyword)voidsetName(String name)voidsetSteps(List<Step> steps)voidsetTags(List<Tag> tags)voidsetType(Type type)
-
-
-
Method Detail
-
getName
public String getName()
-
setName
public void setName(String name)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getKeyword
public String getKeyword()
-
setKeyword
public void setKeyword(String keyword)
-
getType
public Type getType()
-
setType
public void setType(Type type)
-
isBackground
public boolean isBackground()
-
getStatus
public Status getStatus()
-
hasSteps
public boolean hasSteps()
-
hasExamples
public boolean hasExamples()
-
hasTags
public boolean hasTags()
-
hasIgnoreDocsTag
public boolean hasIgnoreDocsTag()
-
-