Class CorrelationSimulationActivityRun
java.lang.Object
com.evolveum.midpoint.repo.common.activity.run.AbstractActivityRun<WD,AH,BS>
com.evolveum.midpoint.repo.common.activity.run.LocalActivityRun<WD,AH,WS>
com.evolveum.midpoint.repo.common.activity.run.IterativeActivityRun<C,WD,AH,WS>
com.evolveum.midpoint.repo.common.activity.run.SearchBasedActivityRun<ShadowType,CorrelationWorkDefinition,CorrelationSimulationActivityHandler,AbstractActivityWorkStateType>
com.evolveum.midpoint.model.impl.correlator.tasks.CorrelationSimulationActivityRun
- All Implemented Interfaces:
ImplicitSegmentationResolver,IterativeActivityRunSpecifics,SearchBasedActivityRunSpecifics<ShadowType>,ExecutionSupport,DebugDumpable
public class CorrelationSimulationActivityRun
extends SearchBasedActivityRun<ShadowType,CorrelationWorkDefinition,CorrelationSimulationActivityHandler,AbstractActivityWorkStateType>
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.evolveum.midpoint.task.api.ExecutionSupport
ExecutionSupport.CountersGroup -
Field Summary
Fields inherited from class com.evolveum.midpoint.repo.common.activity.run.SearchBasedActivityRun
searchSpecificationFields inherited from class com.evolveum.midpoint.repo.common.activity.run.IterativeActivityRun
beans, bucket, coordinator, transientRunStatisticsFields inherited from class com.evolveum.midpoint.repo.common.activity.run.AbstractActivityRun
activity, activityState, endTimestamp, startTimestamp, taskRunFields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING -
Constructor Summary
ConstructorsConstructorDescriptionCorrelationSimulationActivityRun(ActivityRunInstantiationContext<CorrelationWorkDefinition, CorrelationSimulationActivityHandler> ctx, CorrelationService correlationService, ProvisioningService provisioningService, RepositoryService repositoryService, PrismContext prismContext) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbeforeRun(OperationResult result) Called before the run.booleanprocessItem(@NotNull ShadowType shadow, @NotNull ItemProcessingRequest<ShadowType> req, RunningTask task, OperationResult result) Processes given item that came as part of a request.Methods inherited from class com.evolveum.midpoint.repo.common.activity.run.SearchBasedActivityRun
countObjects, determineCurrentBucketSize, determineOverallSize, getDefaultErrorAction, getQuery, getSchemaService, getSearchOptions, getSearchSpecificationRequired, getTaskManager, isInRepository, iterateOverItemsInBucket, prepareItemSourceForCurrentBucket, processItemMethods inherited from class com.evolveum.midpoint.repo.common.activity.run.IterativeActivityRun
canUpdateThreadLocalStatistics, determineActivityStateForThresholds, disableGlobalConnIdOperationsListener, enableGlobalConnIdOperationsListener, ensureNoParallelism, ensureNoWorkerThreads, getBucket, getChannelOverride, getConnIdOperationsReport, getContextDescription, getContextDescriptionSpaced, getErrorState, getItemsReport, getRootTaskOid, getShortName, getTransientRunStatistics, handleError, isMultithreaded, runLocally, setContextDescription, shouldReportConnIdOperations, shouldReportInternalOperations, shouldReportItems, updateStatisticsMethods inherited from class com.evolveum.midpoint.repo.common.activity.run.LocalActivityRun
createReportingCharacteristics, getCurrentResultStatusBean, getDesiredTaskObjectRef, getSimulationTransaction, getTaskExecutionMode, isExcludedFromStalenessChecking, runInternal, shouldUpdateProgressInStateOverview, updateItemProgressInTreeOverviewIfTimePassedMethods inherited from class com.evolveum.midpoint.repo.common.activity.run.AbstractActivityRun
areActionsExecutedStatisticsSupported, areRunRecordsSupported, areStatisticsSupported, areSynchronizationStatisticsSupported, canRun, debugDump, debugDumpExtra, determineActivityStateDefinition, ensureFullExecution, ensureNoDryRun, ensureNoPreviewNorDryRun, getActivity, getActivityDefinition, getActivityExecutionMode, getActivityHandler, getActivityPath, getActivityPolicyRulesContext, getActivityState, getActivityStateDefinition, getBeans, getCountersGroup, getEndTimestampRequired, getItemsProcessed, getLocalParentRun, getReportingCharacteristics, getRunningTask, getStartTimestampRequired, getTaskRun, getTreeStateOverview, getWorkDefinition, incrementCounters, incrementProgress, isAnyPreview, isBucketAnalysis, isDryRun, isFullExecution, isNoExecution, isNonScavengingWorker, isProgressSupported, isWorker, onActivityRealizationCompleteOrAborted, onActivityRealizationStart, recordIterativeOperationStart, run, sendActivityPolicyRuleTriggeredEvent, setInstanceReady, shouldCreateWorkStateOnInitialization, standardRunResult, standardRunResult, toString, updateActivityPolicyStateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazilyMethods inherited from interface com.evolveum.midpoint.task.api.ExecutionSupport
getActivityExecutionMode, getActivityPath, incrementCounters, recordIterativeOperationStartMethods inherited from interface com.evolveum.midpoint.repo.common.activity.run.IterativeActivityRunSpecifics
afterBucketProcessing, afterRun, beforeBucketProcessing, createReportingCharacteristics, resolveImplicitSegmentation, useOtherActivityStateForCountersMethods inherited from interface com.evolveum.midpoint.repo.common.activity.run.SearchBasedActivityRunSpecifics
createCustomSearchSpecification, createItemDefinitionProvider, customizeQuery, customizeSearchOptions, doesRequireDirectRepositoryAccess
-
Constructor Details
-
CorrelationSimulationActivityRun
public CorrelationSimulationActivityRun(ActivityRunInstantiationContext<CorrelationWorkDefinition, CorrelationSimulationActivityHandler> ctx, CorrelationService correlationService, ProvisioningService provisioningService, RepositoryService repositoryService, PrismContext prismContext)
-
-
Method Details
-
beforeRun
Description copied from interface:IterativeActivityRunSpecificsCalled before the run. Note that e.g. for search-based activities the search specification is *not* known at this moment.- Returns:
- true if the run should continue, false if it should be skipped.
- Throws:
ActivityRunExceptionCommonException
-
processItem
public boolean processItem(@NotNull @NotNull ShadowType shadow, @NotNull @NotNull ItemProcessingRequest<ShadowType> req, RunningTask task, OperationResult result) throws SchemaException, ExpressionEvaluationException, CommunicationException, SecurityViolationException, ConfigurationException, ObjectNotFoundException Description copied from interface:SearchBasedActivityRunSpecificsProcesses given item that came as part of a request. BEWARE: Item may have been preprocessed, and may be different from the item present in the request.
-