Class ProvenanceBuiltinMapping
- java.lang.Object
-
- com.evolveum.midpoint.model.common.mapping.metadata.builtin.ProvenanceBuiltinMapping
-
- All Implemented Interfaces:
BuiltinMetadataMapping
@Component public class ProvenanceBuiltinMapping extends Object
Mapping that manages provenance metadata.
-
-
Constructor Summary
Constructors Constructor Description ProvenanceBuiltinMapping(PrismContext prismContext, BuiltinMetadataMappingsRegistry registry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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
getTargetPath()
void
register()
-
-
-
Constructor Detail
-
ProvenanceBuiltinMapping
public ProvenanceBuiltinMapping(PrismContext prismContext, BuiltinMetadataMappingsRegistry registry)
-
-
Method Detail
-
applyForTransformation
public void applyForTransformation(@NotNull @NotNull TransformationalMetadataComputation computation)
Transformation merges the acquisitions into single yield.
-
applyForConsolidation
public void applyForConsolidation(@NotNull @NotNull ConsolidationMetadataComputation computation)
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
@NotNull public @NotNull ItemPath getTargetPath()
- Specified by:
getTargetPath
in interfaceBuiltinMetadataMapping
-
-