com.tngtech.jgiven.impl
Class ScenarioBase

java.lang.Object
  extended by com.tngtech.jgiven.impl.ScenarioBase
Direct Known Subclasses:
Scenario

public class ScenarioBase
extends Object


Field Summary
protected  ScenarioExecutor executor
           
protected  ReportModelBuilder modelBuilder
           
 
Constructor Summary
ScenarioBase()
           
 
Method Summary
<T> T
addStage(Class<T> stepsClass)
           
 void finished()
           
 ScenarioExecutor getExecutor()
           
 ReportModel getModel()
           
 ReportModelBuilder getModelBuilder()
           
 void setModel(ReportModel scenarioCollectionModel)
           
 ScenarioBase startScenario(String description)
           
 void wireSteps(CanWire canWire)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

executor

protected final ScenarioExecutor executor

modelBuilder

protected final ReportModelBuilder modelBuilder
Constructor Detail

ScenarioBase

public ScenarioBase()
Method Detail

setModel

public void setModel(ReportModel scenarioCollectionModel)

getModel

public ReportModel getModel()

addStage

public <T> T addStage(Class<T> stepsClass)

finished

public void finished()

getExecutor

public ScenarioExecutor getExecutor()

wireSteps

public void wireSteps(CanWire canWire)

getModelBuilder

public ReportModelBuilder getModelBuilder()

startScenario

public ScenarioBase startScenario(String description)


Copyright © 2014 TNG Technology Consulting. All rights reserved.