Class ItemValueMetadataProcessingSpec
java.lang.Object
com.evolveum.midpoint.model.common.mapping.metadata.ItemValueMetadataProcessingSpec
- All Implemented Interfaces:
DebugDumpable
,ShortDumpable
Specification of value metadata processing for a given data item: mappings that should be applied
and item definitions driving e.g. storage and applicability of built-in processing of individual
metadata items.
Information present here is derived from e.g. object templates and metadata mappings attached to data mappings.
It is already processed regarding applicability of metadata processing to individual data items.
-
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addMetadataMappings
(@NotNull List<MetadataMappingType> mappingsToAdd, @NotNull OriginProvider<MetadataMappingType> originProvider) void
addPathsToIgnore
(@NotNull List<ItemPathType> pathsToIgnore) debugDump
(int indent) forScope
(@NotNull MetadataMappingScopeType scope) @NotNull Collection<MetadataMappingConfigItem>
@NotNull MetadataMappingScopeType
getScope()
boolean
isEmpty()
boolean
isFullProcessing
(ItemPath itemPath) void
populateFromCurrentFocusTemplate
(@NotNull ItemPath dataPath, ObjectResolver objectResolver, String contextDesc, Task task, OperationResult result) void
populateFromCurrentFocusTemplate
(ModelContext<?> lensContext, @NotNull ItemPath dataPath, ObjectResolver objectResolver, String contextDesc, Task task, OperationResult result) void
Show the content of the object intended for diagnostics.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
Methods inherited from interface com.evolveum.midpoint.util.ShortDumpable
shortDump, shortDumpLazily
-
Method Details
-
forScope
public static ItemValueMetadataProcessingSpec forScope(@NotNull @NotNull MetadataMappingScopeType scope) -
populateFromCurrentFocusTemplate
public void populateFromCurrentFocusTemplate(@NotNull @NotNull ItemPath dataPath, ObjectResolver objectResolver, String contextDesc, Task task, OperationResult result) throws CommunicationException, ObjectNotFoundException, SchemaException, SecurityViolationException, ConfigurationException, ExpressionEvaluationException -
populateFromCurrentFocusTemplate
public void populateFromCurrentFocusTemplate(ModelContext<?> lensContext, @NotNull @NotNull ItemPath dataPath, ObjectResolver objectResolver, String contextDesc, Task task, OperationResult result) throws CommunicationException, ObjectNotFoundException, SchemaException, SecurityViolationException, ConfigurationException, ExpressionEvaluationException -
isEmpty
public boolean isEmpty() -
addMetadataMappings
public void addMetadataMappings(@NotNull @NotNull List<MetadataMappingType> mappingsToAdd, @NotNull @NotNull OriginProvider<MetadataMappingType> originProvider) -
getMappings
-
isFullProcessing
-
getScope
-
shortDump
Description copied from interface:ShortDumpable
Show the content of the object intended for diagnostics. This method is supposed to append a compact, human-readable output in a single line. Unlike toString() method, there is no requirement to identify the actual class or type of the object. It is assumed that the class/type will be obvious from the context in which the output is used.- Specified by:
shortDump
in interfaceShortDumpable
- Parameters:
sb
- StringBuilder to which to a compact one-line content of the object intended for diagnostics by system administrator should be appended.
-
debugDump
- Specified by:
debugDump
in interfaceDebugDumpable
-
addPathsToIgnore
-