Class ShadowFetchingPreprocessor
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.tasks.ShadowFetchingPreprocessor
-
- All Implemented Interfaces:
ObjectPreprocessor<ShadowType>
public class ShadowFetchingPreprocessor extends Object implements ObjectPreprocessor<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.
-
-
Constructor Summary
Constructors Constructor Description ShadowFetchingPreprocessor(AbstractIterativeModelTaskPartExecution<?,?,?,?,?> partExecution)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrismObject<ShadowType>
preprocess(PrismObject<ShadowType> originalObject, Task task, OperationResult result)
Pre-processes the object.
-
-
-
Constructor Detail
-
ShadowFetchingPreprocessor
public ShadowFetchingPreprocessor(AbstractIterativeModelTaskPartExecution<?,?,?,?,?> partExecution)
-
-
Method Detail
-
preprocess
public PrismObject<ShadowType> preprocess(PrismObject<ShadowType> originalObject, Task task, OperationResult result) throws CommonException
Description copied from interface:ObjectPreprocessor
Pre-processes the object. 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 interfaceObjectPreprocessor<ShadowType>
- Throws:
CommonException
-
-