Package org.frankframework.larva
Class ScenarioLoader
java.lang.Object
org.frankframework.larva.ScenarioLoader
Load scenario data for a given scenario file.
Scenario files can include other files. Included files are cached per instance of the ScenarioLoader.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreadScenarioFiles
(String scenariosDirectory) readScenarioProperties
(File scenarioFile, AppConstants appConstants) Read the properties of a scenario file.
-
Constructor Details
-
ScenarioLoader
-
-
Method Details
-
readScenarioFiles
-
readScenarioProperties
@Nonnull public ScenarioLoader.RawScenarioData readScenarioProperties(@Nonnull File scenarioFile, @Nonnull AppConstants appConstants) throws IOException Read the properties of a scenario file.- Parameters:
scenarioFile
- The scenario file to readappConstants
-AppConstants
to be used for resolving propertes in scenarios- Returns:
- The properties read from the scenario file.
- Throws:
IOException
-