public class DslFactory extends Object implements ScenarioFactory
DEFAULT_CORRELATOR_PACKAGE, DEFAULT_DESTINATION_PACKAGE, DEFAULT_GENERATOR_PACKAGE, DEFAULT_RECEIVER_PACKAGE, DEFAULT_REPORTER_PACKAGE, DEFAULT_SENDER_PACKAGE, DEFAULT_SEQUENCE_PACKAGE, DEFAULT_VALIDATION_PACKAGE
Modifier and Type | Method and Description |
---|---|
Scenario |
getScenario()
Constructs the scenario based on previously loaded data.
|
void |
init(URL scenarioUrl)
Initializes all resources needed to prepare the scenario object.
|
public void init(URL scenarioUrl) throws PerfCakeException
ScenarioFactory
init
in interface ScenarioFactory
scenarioUrl
- Location of the scenario file.PerfCakeException
- When it was not possible to parse the scenario.public Scenario getScenario() throws PerfCakeException
ScenarioFactory
getScenario
in interface ScenarioFactory
PerfCakeException
- When it was not possible to properly parese the loaded data.Copyright © 2010–2017 PerfCake Community. All rights reserved.