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.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreadScenarioFiles
(String scenariosDirectory) readScenarioProperties
(File scenarioFile, AppConstants appConstants) Read the properties of a scenario file.
-
Field Details
-
SCENARIO_CACHE_SIZE
public static final int SCENARIO_CACHE_SIZE- See Also:
-
-
Constructor Details
-
ScenarioLoader
-
-
Method Details
-
readScenarioFiles
-
readScenarioProperties
@Nullable public PropertyLoader readScenarioProperties(@Nonnull File scenarioFile, @Nonnull AppConstants appConstants) 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.
-