Class RecomputeTaskHandler.MyProcessing
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.tasks.simple.Processing<FocusType,RecomputeTaskHandler.MyExecutionContext>
-
- com.evolveum.midpoint.model.impl.tasks.RecomputeTaskHandler.MyProcessing
-
- Enclosing class:
- RecomputeTaskHandler
public class RecomputeTaskHandler.MyProcessing extends Processing<FocusType,RecomputeTaskHandler.MyExecutionContext>
-
-
Field Summary
-
Fields inherited from class com.evolveum.midpoint.model.impl.tasks.simple.Processing
ctx
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected @NotNull Class<? extends FocusType>
determineObjectType(Class<? extends FocusType> configuredType)
Creates object type.protected void
handleObject(PrismObject<FocusType> object, RunningTask workerTask, OperationResult result)
Handles an object found.-
Methods inherited from class com.evolveum.midpoint.model.impl.tasks.simple.Processing
createQuery, createSearchOptions
-
-
-
-
Method Detail
-
determineObjectType
@NotNull protected @NotNull Class<? extends FocusType> determineObjectType(Class<? extends FocusType> configuredType)
Description copied from class:Processing
Creates object type. The default is to use object type that was configured in the task, or ObjectType if there was none. For handlers that are limited to a specific type this method MUST be overridden.- Overrides:
determineObjectType
in classProcessing<FocusType,RecomputeTaskHandler.MyExecutionContext>
-
handleObject
protected void handleObject(PrismObject<FocusType> object, RunningTask workerTask, OperationResult result) throws CommonException, PreconditionViolationException
Description copied from class:Processing
Handles an object found. Must be overridden. For simplicity we avoid returning a boolean flag. We expect that stopping the processing for simple tasks is driven solely by the configuration (based e.g. on the exceptions thrown).- Specified by:
handleObject
in classProcessing<FocusType,RecomputeTaskHandler.MyExecutionContext>
- Throws:
CommonException
PreconditionViolationException
-
-