public class PlainTextScenarioWriter extends PlainTextWriter
Modifier and Type | Field and Description |
---|---|
protected ScenarioCaseModel |
currentCaseModel |
protected ScenarioModel |
currentScenarioModel |
protected static java.lang.String |
INDENT |
static java.lang.String |
NESTED_HEADING |
static java.lang.String |
NESTED_INDENT |
withColor, writer
Constructor and Description |
---|
PlainTextScenarioWriter(java.io.PrintWriter printWriter,
boolean withColor) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescriptionOrDefault(ScenarioCaseModel scenarioCase) |
protected void |
printCaseLine(ScenarioCaseModel scenarioCase) |
void |
visit(ScenarioCaseModel scenarioCase) |
void |
visit(ScenarioModel scenarioModel) |
void |
visit(StepModel stepModel) |
void |
visitEnd(ScenarioCaseModel scenarioCase) |
protected java.lang.String |
wordToString(Word word) |
visit, visitEnd, visitEnd
protected static final java.lang.String INDENT
public static final java.lang.String NESTED_HEADING
public static final java.lang.String NESTED_INDENT
protected ScenarioModel currentScenarioModel
protected ScenarioCaseModel currentCaseModel
public PlainTextScenarioWriter(java.io.PrintWriter printWriter, boolean withColor)
public void visit(ScenarioModel scenarioModel)
visit
in class ReportModelVisitor
public void visitEnd(ScenarioCaseModel scenarioCase)
visitEnd
in class ReportModelVisitor
public void visit(ScenarioCaseModel scenarioCase)
visit
in class ReportModelVisitor
protected void printCaseLine(ScenarioCaseModel scenarioCase)
public java.lang.String getDescriptionOrDefault(ScenarioCaseModel scenarioCase)
public void visit(StepModel stepModel)
visit
in class ReportModelVisitor
protected java.lang.String wordToString(Word word)