Package com.tngtech.jgiven.report.model
Class ScenarioModel
- java.lang.Object
-
- com.tngtech.jgiven.report.model.ScenarioModel
-
public class ScenarioModel extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ScenarioModel()
ScenarioModel(ScenarioModel scenarioModel)
Shallow copy a scenario model.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(ReportModelVisitor visitor)
void
addCase(ScenarioCaseModel scenarioCase)
void
addDerivedParameter(java.lang.String parameterName)
void
addDurationInNanos(long durationInNanosDelta)
void
addParameterNames(java.lang.String... params)
void
addTag(Tag tag)
void
addTags(java.util.List<Tag> tags)
void
clearCases()
ScenarioCaseModel
getCase(int i)
java.lang.String
getClassName()
java.util.List<java.lang.String>
getDerivedParameters()
java.lang.String
getDescription()
long
getDurationInNanos()
ExecutionStatus
getExecutionStatus()
java.util.List<java.lang.String>
getExplicitParameters()
java.lang.String
getExtendedDescription()
java.util.List<ScenarioCaseModel>
getScenarioCases()
java.util.List<java.lang.String>
getTagIds()
java.lang.String
getTestMethodName()
boolean
isCasesAsTable()
void
setCasesAsTable(boolean casesAsTable)
void
setClassName(java.lang.String className)
void
setDerivedParameters(java.util.Collection<java.lang.String> parameters)
void
setDescription(java.lang.String description)
void
setDurationInNanos(long durationInNanos)
void
setExplicitParameters(java.util.List<java.lang.String> params)
void
setExtendedDescription(java.lang.String extendedDescription)
void
setTagIds(java.util.Set<java.lang.String> tagIds)
void
setTestMethodName(java.lang.String testMethodName)
-
-
-
Constructor Detail
-
ScenarioModel
public ScenarioModel()
-
ScenarioModel
public ScenarioModel(ScenarioModel scenarioModel)
Shallow copy a scenario model.
-
-
Method Detail
-
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(java.util.List<Tag> tags)
-
addParameterNames
public void addParameterNames(java.lang.String... params)
-
setExplicitParameters
public void setExplicitParameters(java.util.List<java.lang.String> params)
-
getExplicitParameters
public java.util.List<java.lang.String> getExplicitParameters()
-
getScenarioCases
public java.util.List<ScenarioCaseModel> getScenarioCases()
-
getTagIds
public java.util.List<java.lang.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(java.util.Collection<java.lang.String> parameters)
-
addDerivedParameter
public void addDerivedParameter(java.lang.String parameterName)
-
getDerivedParameters
public java.util.List<java.lang.String> getDerivedParameters()
-
getClassName
public java.lang.String getClassName()
-
setClassName
public void setClassName(java.lang.String className)
-
getTestMethodName
public java.lang.String getTestMethodName()
-
setTestMethodName
public void setTestMethodName(java.lang.String testMethodName)
-
getDescription
public java.lang.String getDescription()
-
setDescription
public void setDescription(java.lang.String description)
-
setTagIds
public void setTagIds(java.util.Set<java.lang.String> tagIds)
-
setExtendedDescription
public void setExtendedDescription(java.lang.String extendedDescription)
-
getExtendedDescription
public java.lang.String getExtendedDescription()
-
-