Class AsyncUpdateTaskHandler.TaskExecution
- java.lang.Object
-
- com.evolveum.midpoint.repo.common.task.AbstractTaskExecution<AsyncUpdateTaskHandler,AsyncUpdateTaskHandler.TaskExecution>
-
- com.evolveum.midpoint.model.impl.sync.tasks.AsyncUpdateTaskHandler.TaskExecution
-
- Enclosing class:
- AsyncUpdateTaskHandler
public class AsyncUpdateTaskHandler.TaskExecution extends AbstractTaskExecution<AsyncUpdateTaskHandler,AsyncUpdateTaskHandler.TaskExecution>
-
-
Field Summary
-
Fields inherited from class com.evolveum.midpoint.repo.common.task.AbstractTaskExecution
localCoordinatorTask, partDefinition, taskHandler, workBucket
-
-
Constructor Summary
Constructors Constructor Description TaskExecution(RunningTask localCoordinatorTask, WorkBucketType workBucket, TaskPartitionDefinitionType partDefinition, TaskWorkBucketProcessingResult previousRunResult)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
finish(OperationResult opResult, Throwable t)
Called right before the execution stops, even in the case of exceptions.protected void
initialize(OperationResult opResult)
Called right on the start of the task execution, even before parts are created.-
Methods inherited from class com.evolveum.midpoint.repo.common.task.AbstractTaskExecution
createPartExecutions, getCurrentRunResult, getErrorState, getPrismContext, getRootTaskOid, getTaskContainerRealValue, getTaskPropertyRealValue, heartbeat, isInternallyMultipart, run, setPermanentErrorEncountered
-
-
-
-
Constructor Detail
-
TaskExecution
public TaskExecution(RunningTask localCoordinatorTask, WorkBucketType workBucket, TaskPartitionDefinitionType partDefinition, TaskWorkBucketProcessingResult previousRunResult)
-
-
Method Detail
-
initialize
protected void initialize(OperationResult opResult) throws TaskException, CommunicationException, SchemaException, ConfigurationException, ObjectNotFoundException, SecurityViolationException, ExpressionEvaluationException
Description copied from class:AbstractTaskExecution
Called right on the start of the task execution, even before parts are created. Used for things like ResourceType object resolution, and so on.
-
finish
protected void finish(OperationResult opResult, Throwable t) throws TaskException, SchemaException
Description copied from class:AbstractTaskExecution
Called right before the execution stops, even in the case of exceptions.- Overrides:
finish
in classAbstractTaskExecution<AsyncUpdateTaskHandler,AsyncUpdateTaskHandler.TaskExecution>
- Throws:
TaskException
SchemaException
-
-