Class ProcessingScope
- java.lang.Object
-
- com.evolveum.midpoint.model.impl.sync.tasks.ProcessingScope
-
- All Implemented Interfaces:
DebugDumpable
public class ProcessingScope extends Object implements DebugDumpable
Specifies the basic scope of synchronization (or potentially other resource-related) activity, usually given by [resource, kind, intent, object class name] tuple. Any custom filtering is not represented here. We keep the following: - resolved resource, - resolved object type or class definition, - original kind, intent, and object class name values (if specified). A special case is the scope for a single shadow (seeof(ResourceType, ShadowType)). In this case we resolve the definition but keep kind, intent, and object class unspecified. We don't expect any search or similar operation to be invoked based on these values. See also: -SyncTaskHelper- MID-7470
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classProcessingScope.PostSearchFilterImplSpecifies which objects are to be synchronized.
-
Field Summary
Fields Modifier and Type Field Description @NotNull ResourceTyperesourceThe resolved resource.-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckResourceUp()ItemDefinitionProvidercreateItemDefinitionProvider()ReturnsItemDefinitionProviderfor bucketing over objects in this object class.StringdebugDump(int indent)StringgetContextDescription()@NotNull ResourceOperationCoordinatesgetCoords()@NotNull PostSearchFiltergetPostSearchFilter()@NotNull QNamegetResolvedObjectClassName()@NotNull ResourceTypegetResource()@Nullable ResourceObjectDefinitiongetResourceObjectDefinition()StringgetResourceOid()@NotNull ObjectReferenceTypegetResourceRef()static ProcessingScopeof(@NotNull ResourceType resource, @NotNull ResourceObjectSetType resourceObjectSet)static ProcessingScopeof(@NotNull ResourceType resource, @NotNull ShadowType shadow)See the note in class-level javadoc.StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
-
-
-
Field Detail
-
resource
@NotNull public final @NotNull ResourceType resource
The resolved resource.
-
-
Method Detail
-
of
public static ProcessingScope of(@NotNull @NotNull ResourceType resource, @NotNull @NotNull ResourceObjectSetType resourceObjectSet) throws ActivityRunException
- Throws:
ActivityRunException
-
of
public static ProcessingScope of(@NotNull @NotNull ResourceType resource, @NotNull @NotNull ShadowType shadow) throws ActivityRunException, SchemaException
See the note in class-level javadoc.- Throws:
ActivityRunExceptionSchemaException
-
getCoords
@NotNull public @NotNull ResourceOperationCoordinates getCoords()
-
getResource
@NotNull public @NotNull ResourceType getResource()
-
getResourceRef
@NotNull public @NotNull ObjectReferenceType getResourceRef()
-
getResourceObjectDefinition
@Nullable public @Nullable ResourceObjectDefinition getResourceObjectDefinition()
-
getResolvedObjectClassName
@NotNull public @NotNull QName getResolvedObjectClassName()
-
getPostSearchFilter
@NotNull public @NotNull PostSearchFilter getPostSearchFilter()
-
getContextDescription
public String getContextDescription()
-
getResourceOid
public String getResourceOid()
-
checkResourceUp
public void checkResourceUp()
-
createItemDefinitionProvider
public ItemDefinitionProvider createItemDefinitionProvider()
ReturnsItemDefinitionProviderfor bucketing over objects in this object class.
-
debugDump
public String debugDump(int indent)
- Specified by:
debugDumpin interfaceDebugDumpable
-
-