Class ExecuteChangesTaskHandler
- java.lang.Object
-
- com.evolveum.midpoint.repo.common.task.AbstractTaskHandler<TH,TE>
-
- com.evolveum.midpoint.model.impl.tasks.AbstractModelTaskHandler<SimpleIterativeTaskHandler<O,EC,P>,SimpleIterativeTaskHandler.TaskExecution>
-
- com.evolveum.midpoint.model.impl.tasks.simple.SimpleIterativeTaskHandler<ObjectType,ExecuteChangesTaskHandler.MyExecutionContext,ExecuteChangesTaskHandler.MyProcessing>
-
- com.evolveum.midpoint.model.impl.tasks.ExecuteChangesTaskHandler
-
- All Implemented Interfaces:
TaskHandler
,WorkBucketAwareTaskHandler
@Component public class ExecuteChangesTaskHandler extends SimpleIterativeTaskHandler<ObjectType,ExecuteChangesTaskHandler.MyExecutionContext,ExecuteChangesTaskHandler.MyProcessing>
Executes specified deltas on specified set of objects.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
ExecuteChangesTaskHandler.MyExecutionContext
class
ExecuteChangesTaskHandler.MyProcessing
-
Nested classes/interfaces inherited from class com.evolveum.midpoint.model.impl.tasks.simple.SimpleIterativeTaskHandler
SimpleIterativeTaskHandler.ItemProcessor, SimpleIterativeTaskHandler.PartExecution, SimpleIterativeTaskHandler.TaskExecution
-
-
Field Summary
Fields Modifier and Type Field Description static String
HANDLER_URI
-
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 ExecuteChangesTaskHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ExecuteChangesTaskHandler.MyExecutionContext
createExecutionContext()
protected ExecuteChangesTaskHandler.MyProcessing
createProcessing(ExecuteChangesTaskHandler.MyExecutionContext ctx)
String
getArchetypeOid()
String
getCategoryName(Task task)
Returns a category name for a given task.String
getDefaultChannel()
-
Methods inherited from class com.evolveum.midpoint.model.impl.tasks.simple.SimpleIterativeTaskHandler
createTaskExecution
-
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
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
getCategoryNames, run
-
Methods inherited from interface com.evolveum.midpoint.task.api.WorkBucketAwareTaskHandler
onNoMoreBuckets, run
-
-
-
-
Field Detail
-
HANDLER_URI
public static final String HANDLER_URI
- See Also:
- Constant Field Values
-
-
Method Detail
-
createExecutionContext
protected ExecuteChangesTaskHandler.MyExecutionContext createExecutionContext()
-
createProcessing
protected ExecuteChangesTaskHandler.MyProcessing createProcessing(ExecuteChangesTaskHandler.MyExecutionContext ctx)
-
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"
-
getArchetypeOid
public String getArchetypeOid()
- Returns:
- Archetype OID for tasks that are powered by this handler.
-
getDefaultChannel
public String getDefaultChannel()
- Returns:
- Channel URI for tasks managed by this handler, if applicable.
-
-