Class ProvenanceBuiltinMapping
java.lang.Object
com.evolveum.midpoint.model.common.mapping.metadata.builtin.ProvenanceBuiltinMapping
- All Implemented Interfaces:
BuiltinMetadataMapping
Mapping that manages provenance metadata.
-
Constructor Summary
ConstructorDescriptionProvenanceBuiltinMapping
(PrismContext prismContext, BuiltinMetadataMappingsRegistry registry) -
Method Summary
Modifier and TypeMethodDescriptionvoid
applyForConsolidation
(@NotNull ConsolidationMetadataComputation computation) Consolidation merges the information for one specific yield.void
applyForTransformation
(@NotNull TransformationalMetadataComputation computation) Transformation merges the acquisitions into single yield.@NotNull ItemPath
void
register()
-
Constructor Details
-
ProvenanceBuiltinMapping
public ProvenanceBuiltinMapping(PrismContext prismContext, BuiltinMetadataMappingsRegistry registry)
-
-
Method Details
-
applyForTransformation
public void applyForTransformation(@NotNull @NotNull TransformationalMetadataComputation computation) Transformation merges the acquisitions into single yield. -
applyForConsolidation
Consolidation merges the information for one specific yield. All inputs have the same basic characteristics: - equivalent mapping spec - equivalent set of acquisitions We have to construct a new set of acquisitions, selecting the oldest ones of each kind. -
register
@PostConstruct public void register() -
getTargetPath
- Specified by:
getTargetPath
in interfaceBuiltinMetadataMapping
-