Class ScenarioModel

java.lang.Object
com.tngtech.jgiven.report.model.ScenarioModel

public class ScenarioModel extends Object
  • Constructor Details

    • ScenarioModel

      public ScenarioModel()
    • ScenarioModel

      public ScenarioModel(ScenarioModel scenarioModel)
      Shallow copy a scenario model.
  • Method Details

    • accept

      public void accept(ReportModelVisitor visitor)
    • addCase

      public void addCase(ScenarioCaseModel scenarioCase)
    • getExecutionStatus

      public ExecutionStatus getExecutionStatus()
    • getCase

      public ScenarioCaseModel getCase(int i)
    • addTag

      public void addTag(Tag tag)
    • addTags

      public void addTags(List<Tag> tags)
    • addParameterNames

      public void addParameterNames(String... params)
    • setExplicitParameters

      public void setExplicitParameters(List<String> params)
    • getExplicitParameters

      public List<String> getExplicitParameters()
    • getScenarioCases

      public List<ScenarioCaseModel> getScenarioCases()
    • getTagIds

      public List<String> getTagIds()
    • isCasesAsTable

      public boolean isCasesAsTable()
    • setCasesAsTable

      public void setCasesAsTable(boolean casesAsTable)
    • clearCases

      public void clearCases()
    • getDurationInNanos

      public long getDurationInNanos()
    • setDurationInNanos

      public void setDurationInNanos(long durationInNanos)
    • addDurationInNanos

      public void addDurationInNanos(long durationInNanosDelta)
    • setDerivedParameters

      public void setDerivedParameters(Collection<String> parameters)
    • addDerivedParameter

      public void addDerivedParameter(String parameterName)
    • getDerivedParameters

      public List<String> getDerivedParameters()
    • getClassName

      public String getClassName()
    • setClassName

      public void setClassName(String className)
    • getTestMethodName

      public String getTestMethodName()
    • setTestMethodName

      public void setTestMethodName(String testMethodName)
    • getDescription

      public String getDescription()
    • setDescription

      public void setDescription(String description)
    • setTagIds

      public void setTagIds(Set<String> tagIds)
    • setExtendedDescription

      public void setExtendedDescription(String extendedDescription)
    • getExtendedDescription

      public String getExtendedDescription()