Package com.tngtech.jgiven.report.model
Class ScenarioCaseModel
- java.lang.Object
-
- com.tngtech.jgiven.report.model.ScenarioCaseModel
-
public class ScenarioCaseModel extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ScenarioCaseModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(ReportModelVisitor visitor)
void
addDerivedArguments(java.lang.String... values)
void
addExplicitArguments(java.lang.String... args)
void
addStep(StepModel stepModel)
int
getCaseNr()
java.util.List<java.lang.String>
getDerivedArguments()
java.lang.String
getDescription()
long
getDurationInNanos()
java.lang.String
getErrorMessage()
ExecutionStatus
getExecutionStatus()
java.util.List<java.lang.String>
getExplicitArguments()
StepModel
getFirstStep()
java.util.List<java.lang.String>
getStackTrace()
StepModel
getStep(int i)
java.util.List<StepModel>
getSteps()
boolean
hasDescription()
void
setCaseNr(int caseNr)
void
setDerivedArguments(java.util.List<java.lang.String> derivedArguments)
void
setDescription(java.lang.String description)
void
setDurationInNanos(long durationInNanos)
void
setErrorMessage(java.lang.String errorMessage)
void
setExplicitArguments(java.util.List<java.lang.String> arguments)
void
setStackTrace(java.util.List<java.lang.String> stackTrace)
void
setStatus(ExecutionStatus status)
void
setSteps(java.util.List<StepModel> steps)
-
-
-
Method Detail
-
accept
public void accept(ReportModelVisitor visitor)
-
addExplicitArguments
public void addExplicitArguments(java.lang.String... args)
-
setExplicitArguments
public void setExplicitArguments(java.util.List<java.lang.String> arguments)
-
getExplicitArguments
public java.util.List<java.lang.String> getExplicitArguments()
-
addStep
public void addStep(StepModel stepModel)
-
getStep
public StepModel getStep(int i)
-
getSteps
public java.util.List<StepModel> getSteps()
-
setDurationInNanos
public void setDurationInNanos(long durationInNanos)
-
getDurationInNanos
public long getDurationInNanos()
-
getExecutionStatus
public ExecutionStatus getExecutionStatus()
-
addDerivedArguments
public void addDerivedArguments(java.lang.String... values)
-
getDerivedArguments
public java.util.List<java.lang.String> getDerivedArguments()
-
getCaseNr
public int getCaseNr()
-
setCaseNr
public void setCaseNr(int caseNr)
-
setSteps
public void setSteps(java.util.List<StepModel> steps)
-
getFirstStep
public StepModel getFirstStep()
-
getStackTrace
public java.util.List<java.lang.String> getStackTrace()
-
setStackTrace
public void setStackTrace(java.util.List<java.lang.String> stackTrace)
-
getErrorMessage
public java.lang.String getErrorMessage()
-
setStatus
public void setStatus(ExecutionStatus status)
-
setErrorMessage
public void setErrorMessage(java.lang.String errorMessage)
-
setDescription
public void setDescription(java.lang.String description)
-
getDescription
public java.lang.String getDescription()
-
hasDescription
public boolean hasDescription()
-
setDerivedArguments
public void setDerivedArguments(java.util.List<java.lang.String> derivedArguments)
-
-