Class TriggerScannerTaskHandler
- java.lang.Object
-
- com.evolveum.midpoint.repo.common.task.AbstractSearchIterativeTaskHandler<O,H>
-
- com.evolveum.midpoint.model.impl.util.AbstractSearchIterativeModelTaskHandler<O,H>
-
- com.evolveum.midpoint.model.impl.util.AbstractScannerTaskHandler<ObjectType,AbstractScannerResultHandler<ObjectType>>
-
- com.evolveum.midpoint.model.impl.trigger.TriggerScannerTaskHandler
-
- All Implemented Interfaces:
TaskHandler
,WorkBucketAwareTaskHandler
@Component public class TriggerScannerTaskHandler extends AbstractScannerTaskHandler<ObjectType,AbstractScannerResultHandler<ObjectType>>
- Author:
- Radovan Semancik
-
-
Field Summary
Fields Modifier and Type Field Description static String
HANDLER_URI
-
Fields inherited from class com.evolveum.midpoint.model.impl.util.AbstractScannerTaskHandler
clock
-
Fields inherited from class com.evolveum.midpoint.model.impl.util.AbstractSearchIterativeModelTaskHandler
expressionFactory, modelObjectResolver, securityEnforcer, systemObjectCache
-
Fields inherited from class com.evolveum.midpoint.repo.common.task.AbstractSearchIterativeTaskHandler
prismContext, repositoryService, taskManager
-
-
Constructor Summary
Constructors Constructor Description TriggerScannerTaskHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AbstractScannerResultHandler<ObjectType>
createHandler(TaskPartitionDefinitionType partition, TaskRunResult runResult, RunningTask coordinatorTask, OperationResult opResult)
protected ObjectQuery
createQuery(AbstractScannerResultHandler<ObjectType> handler, TaskRunResult runResult, Task task, OperationResult opResult)
Handler parameter may be used to pass task instance state between the calls.protected void
finish(AbstractScannerResultHandler<ObjectType> handler, TaskRunResult runResult, RunningTask task, OperationResult opResult)
protected Class<? extends ObjectType>
getType(Task task)
-
Methods inherited from class com.evolveum.midpoint.model.impl.util.AbstractScannerTaskHandler
getCategoryName, initializeRun
-
Methods inherited from class com.evolveum.midpoint.model.impl.util.AbstractSearchIterativeModelTaskHandler
checkRawAuthorization, countObjects, getExecuteOptionsFromTask, preProcessQuery, resolveObjectRef, searchIterative
-
Methods inherited from class com.evolveum.midpoint.repo.common.task.AbstractSearchIterativeTaskHandler
createQueryFromTask, createQueryFromTaskIfExists, createSearchOptions, createSearchOptionsFromTask, getDefaultChannel, getExpressionProfile, getIdentifierDefinitionProvider, getIterationMethodFromTask, getObjectQueryTypeFromTask, getObjectQueryTypeFromTaskObjectRef, getPrismContext, getRepositoryService, getStatisticsCollectionStrategy, getTaskManager, getTaskName, getTaskOperationPrefix, getTypeFromTask, getUseRepositoryDirectlyFromTask, heartbeat, isEnableActionsExecutedStatistics, isEnableIterationStatistics, isEnableSynchronizationStatistics, isLogFinishInfo, isPreserveStatistics, logPreviousResultIfNeeded, refreshStatus, requiresDirectRepositoryAccess, run, setEnableActionsExecutedStatistics, setEnableIterationStatistics, setEnableSynchronizationStatistics, setLogFinishInfo, setPreserveStatistics
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.task.api.TaskHandler
getCategoryNames
-
Methods inherited from interface com.evolveum.midpoint.task.api.WorkBucketAwareTaskHandler
getObjectQueryTypeFromTaskExtension, onNoMoreBuckets, run, run
-
-
-
-
Field Detail
-
HANDLER_URI
public static final String HANDLER_URI
- See Also:
- Constant Field Values
-
-
Method Detail
-
getType
protected Class<? extends ObjectType> getType(Task task)
- Specified by:
getType
in classAbstractSearchIterativeTaskHandler<ObjectType,AbstractScannerResultHandler<ObjectType>>
-
createQuery
protected ObjectQuery createQuery(AbstractScannerResultHandler<ObjectType> handler, TaskRunResult runResult, Task task, OperationResult opResult)
Description copied from class:AbstractSearchIterativeTaskHandler
Handler parameter may be used to pass task instance state between the calls.- Overrides:
createQuery
in classAbstractSearchIterativeTaskHandler<ObjectType,AbstractScannerResultHandler<ObjectType>>
-
finish
protected void finish(AbstractScannerResultHandler<ObjectType> handler, TaskRunResult runResult, RunningTask task, OperationResult opResult) throws SchemaException
- Overrides:
finish
in classAbstractScannerTaskHandler<ObjectType,AbstractScannerResultHandler<ObjectType>>
- Throws:
SchemaException
-
createHandler
protected AbstractScannerResultHandler<ObjectType> createHandler(TaskPartitionDefinitionType partition, TaskRunResult runResult, RunningTask coordinatorTask, OperationResult opResult)
- Specified by:
createHandler
in classAbstractSearchIterativeTaskHandler<ObjectType,AbstractScannerResultHandler<ObjectType>>
-
-