Class ShadowFetchingPreprocessor
java.lang.Object
com.evolveum.midpoint.model.impl.tasks.ShadowFetchingPreprocessor
- All Implemented Interfaces:
ItemPreprocessor<ShadowType>
A preprocessor that fetched incoming object (presumably resolved using noFetch option)
in order to obtain full attributes.
It is expected that it throws an exception if the object cannot be fetched fully.
-
Method Summary
Modifier and TypeMethodDescriptionpreprocess
(ShadowType originalShadow, Task task, OperationResult result) Pre-processes the item.
-
Method Details
-
preprocess
public ShadowType preprocess(ShadowType originalShadow, Task task, OperationResult result) throws CommonException Description copied from interface:ItemPreprocessor
Pre-processes the item. Error handling: If the processing has to be stopped, an exception needs to be thrown. Otherwise (e.g. if only an operation result is set) the processing will continue.- Specified by:
preprocess
in interfaceItemPreprocessor<ShadowType>
- Throws:
CommonException
-