Class IterativeScriptExecutionTaskHandler
- 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,IterativeScriptExecutionTaskHandler.MyExecutionContext,IterativeScriptExecutionTaskHandler.MyProcessing>
-
- com.evolveum.midpoint.model.impl.scripting.IterativeScriptExecutionTaskHandler
-
- All Implemented Interfaces:
TaskHandler
,WorkBucketAwareTaskHandler
@Component public class IterativeScriptExecutionTaskHandler extends SimpleIterativeTaskHandler<ObjectType,IterativeScriptExecutionTaskHandler.MyExecutionContext,IterativeScriptExecutionTaskHandler.MyProcessing>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
IterativeScriptExecutionTaskHandler.MyExecutionContext
class
IterativeScriptExecutionTaskHandler.MyProcessing
-
Nested classes/interfaces inherited from class com.evolveum.midpoint.model.impl.tasks.simple.SimpleIterativeTaskHandler
SimpleIterativeTaskHandler.ItemProcessor, SimpleIterativeTaskHandler.PartExecution, SimpleIterativeTaskHandler.TaskExecution
-
-
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
-
Fields inherited from class com.evolveum.midpoint.repo.common.task.AbstractTaskHandler
globalReportingOptions, lightweightIdentifierGenerator, matchingRuleRegistry, operationExecutionRecorder, prismContext, repositoryService, schemaService, taskTypeName
-
-
Constructor Summary
Constructors Constructor Description IterativeScriptExecutionTaskHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected IterativeScriptExecutionTaskHandler.MyExecutionContext
createExecutionContext()
protected IterativeScriptExecutionTaskHandler.MyProcessing
createProcessing(IterativeScriptExecutionTaskHandler.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
-
-
-
-
Method Detail
-
createExecutionContext
protected IterativeScriptExecutionTaskHandler.MyExecutionContext createExecutionContext()
-
createProcessing
protected IterativeScriptExecutionTaskHandler.MyProcessing createProcessing(IterativeScriptExecutionTaskHandler.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.
-
-