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 TypeMethodDescription@NonNull Map<Scenario.ID, Scenario> readScenarioFiles(@NonNull String scenariosDirectory) @NonNull ScenarioLoader.RawScenarioDatareadScenarioProperties(@NonNull File scenarioFile, @NonNull AppConstants appConstants) Read the properties of a scenario file.
-
Constructor Details
-
ScenarioLoader
-
-
Method Details
-
readScenarioFiles
-
readScenarioProperties
public @NonNull 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-AppConstantsto be used for resolving propertes in scenarios- Returns:
- The properties read from the scenario file.
- Throws:
IOException
-