Class ProcessingScope
java.lang.Object
com.evolveum.midpoint.model.impl.sync.tasks.ProcessingScope
- All Implemented Interfaces:
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 (see
of(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
Modifier and TypeClassDescriptionclass
Specifies which objects are to be synchronized. -
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
Method Summary
Modifier and TypeMethodDescriptionvoid
ReturnsItemDefinitionProvider
for bucketing over objects in this object class.debugDump
(int indent) @NotNull ResourceOperationCoordinates
@NotNull ObjectFilter
@NotNull PostSearchFilter
@NotNull QName
@NotNull ResourceType
@Nullable ResourceObjectDefinition
@NotNull ObjectReferenceType
static ProcessingScope
of
(@NotNull ResourceType resource, @NotNull ResourceObjectSetType resourceObjectSet) static ProcessingScope
of
(@NotNull ResourceType resource, @NotNull ShadowType shadow) See the note in class-level javadoc.toString()
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 Details
-
resource
The resolved resource.
-
-
Method Details
-
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:
ActivityRunException
SchemaException
-
toString
-
getCoords
-
getResource
-
getResourceRef
-
getResourceObjectDefinition
-
getResolvedObjectClassName
-
getPostSearchFilter
-
getKindIntentFilter
-
getContextDescription
-
getResourceOid
-
checkResourceUp
public void checkResourceUp() -
createItemDefinitionProvider
ReturnsItemDefinitionProvider
for bucketing over objects in this object class. -
debugDump
- Specified by:
debugDump
in interfaceDebugDumpable
-