Class AbstractScannerTaskHandler<TH extends AbstractScannerTaskHandler<TH,TE>,TE extends AbstractScannerTaskExecution<TH,TE>>
- java.lang.Object
-
- com.evolveum.midpoint.repo.common.task.AbstractTaskHandler<TH,TE>
-
- com.evolveum.midpoint.model.impl.tasks.AbstractModelTaskHandler<TH,TE>
-
- com.evolveum.midpoint.model.impl.tasks.scanner.AbstractScannerTaskHandler<TH,TE>
-
- All Implemented Interfaces:
TaskHandler
,WorkBucketAwareTaskHandler
- Direct Known Subclasses:
FocusValidityScannerTaskHandler
,ShadowRefreshTaskHandler
,TriggerScannerTaskHandler
@Component public abstract class AbstractScannerTaskHandler<TH extends AbstractScannerTaskHandler<TH,TE>,TE extends AbstractScannerTaskExecution<TH,TE>> extends AbstractModelTaskHandler<TH,TE>
Task handler covering all scanner tasks - i.e. ones that select their objects based on timestamps. Currently these are: validity, trigger, and shadow refresh tasks.- Author:
- Radovan Semancik
-
-
Field Summary
-
Fields inherited from class com.evolveum.midpoint.model.impl.tasks.AbstractModelTaskHandler
clock, clockwork, contextFactory, eventDispatcher, expressionFactory, model, modelObjectResolver, provisioningService, securityEnforcer, synchronizationService, syncTaskHelper, systemObjectCache, taskManager
-
Fields inherited from class com.evolveum.midpoint.repo.common.task.AbstractTaskHandler
globalReportingOptions, lightweightIdentifierGenerator, matchingRuleRegistry, operationExecutionRecorder, prismContext, repositoryService, schemaService, taskTypeName
-
-
Constructor Summary
Constructors Constructor Description AbstractScannerTaskHandler(Trace logger, String taskName, String taskOperationPrefix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCategoryName(Task task)
Returns a category name for a given task.-
Methods inherited from class com.evolveum.midpoint.model.impl.tasks.AbstractModelTaskHandler
getClock, getExpressionFactory, getProvisioningService, getSynchronizationService, getSyncTaskHelper, getSystemObjectsCache
-
Methods inherited from class com.evolveum.midpoint.repo.common.task.AbstractTaskHandler
createTaskExecution, getCacheConfigurationManager, getGlobalReportingOptions, getLogger, getMatchingRuleRegistry, getOperationExecutionRecorder, getPrismContext, getRepositoryService, getStatisticsCollectionStrategy, getTaskManager, getTaskTypeName, getTracer, heartbeat, refreshStatus, run
-
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
getArchetypeOid, getCategoryNames, getDefaultChannel, run
-
Methods inherited from interface com.evolveum.midpoint.task.api.WorkBucketAwareTaskHandler
onNoMoreBuckets, run
-
-
-
-
Method Detail
-
getCategoryName
public String getCategoryName(Task task)
Description copied from interface:TaskHandler
Returns a category name for a given task. In most cases, the name would be independent of concrete task.- Parameters:
task
- a task, whose category is to be determined; if getCategoryNames() returns null, this method has to accept null value as this parameter, and return the (one) category name that it gives to all tasks- Returns:
- a user-understandable name, like "LiveSync" or "Workflow"
-
-