Class ImportFromResourceTaskExecution
- java.lang.Object
-
- com.evolveum.midpoint.repo.common.task.AbstractTaskExecution<ImportFromResourceTaskHandler,ImportFromResourceTaskExecution>
-
- com.evolveum.midpoint.model.impl.sync.tasks.imp.ImportFromResourceTaskExecution
-
public class ImportFromResourceTaskExecution extends AbstractTaskExecution<ImportFromResourceTaskHandler,ImportFromResourceTaskExecution>
Execution of an import task. Currently contains just generic synchronization-related information (resource, object class, kind, intent).
-
-
Field Summary
-
Fields inherited from class com.evolveum.midpoint.repo.common.task.AbstractTaskExecution
localCoordinatorTask, partDefinition, taskHandler, workBucket
-
-
Constructor Summary
Constructors Constructor Description ImportFromResourceTaskExecution(ImportFromResourceTaskHandler taskHandler, RunningTask localCoordinatorTask, WorkBucketType workBucket, TaskPartitionDefinitionType partDefinition, TaskWorkBucketProcessingResult previousRunResult)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QNamegetObjectClassName()SynchronizationObjectsFilterImplgetObjectsFilter()ResourceTypegetResource()StringgetResourceOid()SyncTaskHelper.TargetInfogetTargetInfo()protected voidinitialize(OperationResult opResult)Called right on the start of the task execution, even before parts are created.-
Methods inherited from class com.evolveum.midpoint.repo.common.task.AbstractTaskExecution
createPartExecutions, finish, getCurrentRunResult, getErrorState, getPrismContext, getRootTaskOid, getTaskContainerRealValue, getTaskPropertyRealValue, heartbeat, isInternallyMultipart, run, setPermanentErrorEncountered
-
-
-
-
Constructor Detail
-
ImportFromResourceTaskExecution
public ImportFromResourceTaskExecution(ImportFromResourceTaskHandler taskHandler, RunningTask localCoordinatorTask, WorkBucketType workBucket, TaskPartitionDefinitionType partDefinition, TaskWorkBucketProcessingResult previousRunResult)
-
-
Method Detail
-
initialize
protected void initialize(OperationResult opResult) throws TaskException, CommunicationException, SchemaException, ObjectNotFoundException, SecurityViolationException, ConfigurationException, ExpressionEvaluationException
Description copied from class:AbstractTaskExecutionCalled right on the start of the task execution, even before parts are created. Used for things like ResourceType object resolution, and so on.
-
getResourceOid
public String getResourceOid()
-
getObjectClassName
public QName getObjectClassName()
-
getObjectsFilter
public SynchronizationObjectsFilterImpl getObjectsFilter()
-
getResource
public ResourceType getResource()
-
getTargetInfo
public SyncTaskHelper.TargetInfo getTargetInfo()
-
-