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 from
ResourceShadowCoordinates
:
. no `tag` information,
. resource is obligatory,
. categorized into ResourceOperationCoordinates.TypeScoped
, ResourceOperationCoordinates.ObjectClassScoped
, and ResourceOperationCoordinates.ResourceScoped
subtypes,
to indicate the scope of the operation.- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
-
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
void
void
clone()
@Nullable String
@Nullable ShadowKindType
getKind()
@Nullable QName
@NotNull String
static ResourceOperationCoordinates
of
(@NotNull String resourceOid, @Nullable ShadowKindType kind, @Nullable String intent, @Nullable QName objectClassName) static ResourceOperationCoordinates
static ResourceOperationCoordinates
ofObjectClass
(@NotNull String resourceOid, @NotNull QName objectClassName) static ResourceOperationCoordinates
ofResource
(@NotNull String resourceOid) static ResourceOperationCoordinates
ofType
(@NotNull String resourceOid, @NotNull ShadowKindType kind, @Nullable String intent, @Nullable QName objectClassName) void
Show the content of the object intended for diagnostics.toHumanReadableDescription
(boolean writeOid) toString()
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 Details
-
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
-
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
-
getKind
-
getIntent
-
getObjectClassName
-
checkNotUnknown
public void checkNotUnknown() -
clone
-
toString
-
shortDump
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
- Specified by:
toHumanReadableDescription
in interfaceHumanReadableDescribable
-
toHumanReadableDescription
-
checkNotResourceScoped
public void checkNotResourceScoped() -
areObjectTypeScoped
public boolean areObjectTypeScoped() -
areObjectClassScoped
public boolean areObjectClassScoped()
-