Class ExecuteChangesTaskHandler.MyProcessing
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.tasks.simple.Processing<ObjectType,ExecuteChangesTaskHandler.MyExecutionContext>
-
- com.evolveum.midpoint.model.impl.tasks.ExecuteChangesTaskHandler.MyProcessing
-
- Enclosing class:
- ExecuteChangesTaskHandler
public class ExecuteChangesTaskHandler.MyProcessing extends Processing<ObjectType,ExecuteChangesTaskHandler.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 ObjectType>
determineObjectType(Class<? extends ObjectType> configuredType)
Creates object type.protected void
handleObject(PrismObject<ObjectType> 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 ObjectType> determineObjectType(Class<? extends ObjectType> 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<ObjectType,ExecuteChangesTaskHandler.MyExecutionContext>
-
handleObject
protected void handleObject(PrismObject<ObjectType> 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<ObjectType,ExecuteChangesTaskHandler.MyExecutionContext>
- Throws:
CommonException
PreconditionViolationException
-
-