Package com.evolveum.midpoint.schema
Class ResourceOperationCoordinates
- java.lang.Object
-
- com.evolveum.midpoint.schema.ResourceOperationCoordinates
-
- All Implemented Interfaces:
DebugDumpable
,HumanReadableDescribable
,ShortDumpable
,Serializable
,Cloneable
- Direct Known Subclasses:
ResourceOperationCoordinates.ObjectClassScoped
,ResourceOperationCoordinates.ResourceScoped
,ResourceOperationCoordinates.TypeScoped
public abstract class ResourceOperationCoordinates extends Object implements Serializable, DebugDumpable, ShortDumpable, HumanReadableDescribable, Cloneable
Specifies the "coordinates" of a resource operation covering multiple objects, like search, or live sync. Differences fromResourceShadowCoordinates
: . no `tag` information, . resource is obligatory, . categorized intoResourceOperationCoordinates.TypeScoped
,ResourceOperationCoordinates.ObjectClassScoped
, andResourceOperationCoordinates.ResourceScoped
subtypes, to indicate the scope of the operation.- See Also:
ResourceShadowCoordinates
, Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ResourceOperationCoordinates.ObjectClassScoped
static class
ResourceOperationCoordinates.ResourceScoped
static class
ResourceOperationCoordinates.TypeScoped
-
Field Summary
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Method Summary
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDump, debugDumpLazily, debugDumpLazily
-
Methods inherited from interface com.evolveum.midpoint.util.ShortDumpable
shortDump, shortDumpLazily
-
-
-
-
Method Detail
-
of
public static ResourceOperationCoordinates of(@NotNull @NotNull String resourceOid, @Nullable @Nullable ShadowKindType kind, @Nullable @Nullable String intent, @Nullable @Nullable QName objectClassName)
-
of
public static ResourceOperationCoordinates of(@NotNull @NotNull String resourceOid, @Nullable @Nullable QName objectClassName)
-
ofResource
public static ResourceOperationCoordinates ofResource(@NotNull @NotNull String resourceOid)
-
ofObjectClass
public static ResourceOperationCoordinates ofObjectClass(@NotNull @NotNull String resourceOid, @NotNull @NotNull QName objectClassName)
-
ofType
public static ResourceOperationCoordinates ofType(@NotNull @NotNull String resourceOid, @NotNull @NotNull ShadowKindType kind, @Nullable @Nullable String intent, @Nullable @Nullable QName objectClassName)
-
getResourceOid
@NotNull public @NotNull String getResourceOid()
-
getKind
@Nullable public @Nullable ShadowKindType getKind()
-
getIntent
@Nullable public @Nullable String getIntent()
-
getObjectClassName
@Nullable public @Nullable QName getObjectClassName()
-
checkNotUnknown
public void checkNotUnknown()
-
clone
public ResourceOperationCoordinates clone()
-
shortDump
public void shortDump(StringBuilder sb)
Description copied from interface:ShortDumpable
Show the content of the object intended for diagnostics. This method is supposed to append a compact, human-readable output in a single line. Unlike toString() method, there is no requirement to identify the actual class or type of the object. It is assumed that the class/type will be obvious from the context in which the output is used.- Specified by:
shortDump
in interfaceShortDumpable
- Parameters:
sb
- StringBuilder to which to a compact one-line content of the object intended for diagnostics by system administrator should be appended.
-
toHumanReadableDescription
public String toHumanReadableDescription()
- Specified by:
toHumanReadableDescription
in interfaceHumanReadableDescribable
-
toHumanReadableDescription
public String toHumanReadableDescription(boolean writeOid)
-
checkNotResourceScoped
public void checkNotResourceScoped()
-
areObjectTypeScoped
public boolean areObjectTypeScoped()
-
areObjectClassScoped
public boolean areObjectClassScoped()
-
-