Package sonia.scm.update
Class MapBasedPropertyReaderInstance
java.lang.Object
sonia.scm.update.MapBasedPropertyReaderInstance
- All Implemented Interfaces:
V1PropertyReader.Instance
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
forEachEntry
(BiConsumer<String, V1Properties> propertiesForNameConsumer) Will call the given consumer for each id of the corresponding entity with its list of properties converted from v1.havingAllOf
(String... keys) Filters for entities only having properties for all given key name.havingAnyOf
(String... keys) Filters for entities only having at least one property with a given key name.
-
Constructor Details
-
MapBasedPropertyReaderInstance
-
-
Method Details
-
forEachEntry
Description copied from interface:V1PropertyReader.Instance
Will call the given consumer for each id of the corresponding entity with its list of properties converted from v1. For example for repositories this will call the consumer with the id of each repository that had properties attached in v1.- Specified by:
forEachEntry
in interfaceV1PropertyReader.Instance
-
havingAnyOf
Description copied from interface:V1PropertyReader.Instance
Filters for entities only having at least one property with a given key name.- Specified by:
havingAnyOf
in interfaceV1PropertyReader.Instance
-
havingAllOf
Description copied from interface:V1PropertyReader.Instance
Filters for entities only having properties for all given key name.- Specified by:
havingAllOf
in interfaceV1PropertyReader.Instance
-