Interface YamlInitialValueService
- All Known Implementing Classes:
YamlInitialValueServiceImpl
public interface YamlInitialValueService
-
Method Summary
Modifier and TypeMethodDescriptionloadData
(@Nullable Set<String> modules, Predicate<ModelResource> fileNamePredicate) load all .yaml files from the db/initialvalues folders of the passed modules and parse them intoYamlInitialValues.YamlInitialValue
for use as initial values after db refactoring was run
-
Method Details
-
loadData
Stream<YamlInitialValues.YamlInitialValue> loadData(@Nullable @Nullable Set<String> modules, Predicate<ModelResource> fileNamePredicate) load all .yaml files from the db/initialvalues folders of the passed modules and parse them intoYamlInitialValues.YamlInitialValue
for use as initial values after db refactoring was run- Parameters:
modules
- the modules to load the initial values for- Returns:
- a stream of all initial values
-