Class ImportFromResourceTaskPartExecution
- java.lang.Object
-
- com.evolveum.midpoint.repo.common.task.AbstractIterativeTaskPartExecution<PrismObject<O>,TH,TE,PE,RH>
-
- com.evolveum.midpoint.repo.common.task.AbstractSearchIterativeTaskPartExecution<O,TH,TE,PE,RH>
-
- com.evolveum.midpoint.model.impl.tasks.AbstractIterativeModelTaskPartExecution<ShadowType,ImportFromResourceTaskHandler,ImportFromResourceTaskExecution,ImportFromResourceTaskPartExecution,ImportFromResourceTaskPartExecution.ItemProcessor>
-
- com.evolveum.midpoint.model.impl.sync.tasks.imp.ImportFromResourceTaskPartExecution
-
public class ImportFromResourceTaskPartExecution extends AbstractIterativeModelTaskPartExecution<ShadowType,ImportFromResourceTaskHandler,ImportFromResourceTaskExecution,ImportFromResourceTaskPartExecution,ImportFromResourceTaskPartExecution.ItemProcessor>
Searches for resource objects and imports them. (By delegating to Synchronizer class.)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
ImportFromResourceTaskPartExecution.ItemProcessor
-
Field Summary
-
Fields inherited from class com.evolveum.midpoint.repo.common.task.AbstractSearchIterativeTaskPartExecution
objectType, query, searchOptions, useRepository, workBucket
-
Fields inherited from class com.evolveum.midpoint.repo.common.task.AbstractIterativeTaskPartExecution
bucketStatistics, coordinator, itemProcessor, localCoordinatorTask, logger, reportingOptions, runResult, taskExecution, taskHandler
-
-
Constructor Summary
Constructors Constructor Description ImportFromResourceTaskPartExecution(ImportFromResourceTaskExecution taskExecution)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Function<ItemPath,ItemDefinition<?>>
createItemDefinitionProvider()
Returns a provider of definitions for runtime items (e.g.protected ObjectQuery
createQuery(OperationResult opResult)
Handler parameter may be used to pass task instance state between the calls.protected Collection<SelectorOptions<GetOperationOptions>>
createSearchOptions(OperationResult opResult)
-
Methods inherited from class com.evolveum.midpoint.model.impl.tasks.AbstractIterativeModelTaskPartExecution
checkRawAuthorization, countObjects, createShadowFetchingPreprocessor, modelProcessingAvailable, preProcessQuery, searchIterative
-
Methods inherited from class com.evolveum.midpoint.repo.common.task.AbstractSearchIterativeTaskPartExecution
countObjectsInRepository, createItemDefinitionProviderForAttributes, createQueryFromTask, createQueryFromTaskIfExists, createSearchOptionsFromTask, createSearchResultHandler, determineObjectType, getDefaultErrorAction, getExpressionProfile, getPrismContext, getSchemaService, getSearchOptions, getTaskHandler, getTaskManager, getTypeFromTask, prepareItemSource, processItems, providesTracingAndDynamicProfiling, requiresDirectRepositoryAccess, searchIterativeInRepository, setExpectedTotal, setRequiresDirectRepositoryAccess
-
Methods inherited from class com.evolveum.midpoint.repo.common.task.AbstractIterativeTaskPartExecution
createItemProcessor, ensureNoWorkerThreads, finish, getContextDescription, getExpectedParts, getLogger, getPartNumber, getPartStartTimestamp, getPartUri, getProcessShortName, getProcessShortNameCapitalized, getReportingOptions, getRootTask, getRootTaskOid, getStartTimeMillis, getTaskExecution, heartbeat, initialize, isMultithreaded, isSimulate, run, setContextDescription, setExpectedParts, setPartNumber, setPartUri, setProcessShortNameCapitalized
-
-
-
-
Constructor Detail
-
ImportFromResourceTaskPartExecution
public ImportFromResourceTaskPartExecution(ImportFromResourceTaskExecution taskExecution)
-
-
Method Detail
-
createSearchOptions
protected Collection<SelectorOptions<GetOperationOptions>> createSearchOptions(OperationResult opResult)
-
createQuery
protected ObjectQuery createQuery(OperationResult opResult) throws SchemaException
Description copied from class:AbstractSearchIterativeTaskPartExecution
Handler parameter may be used to pass task instance state between the calls.
-
createItemDefinitionProvider
protected Function<ItemPath,ItemDefinition<?>> createItemDefinitionProvider()
Description copied from class:AbstractSearchIterativeTaskPartExecution
Returns a provider of definitions for runtime items (e.g. attributes) that are needed in bucket filters. To be implemented in subclasses that work with resource objects.
-
-