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:
  • 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

      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

      Overrides:
      clone in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • 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 interface ShortDumpable
      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 interface HumanReadableDescribable
    • toHumanReadableDescription

      public String toHumanReadableDescription(boolean writeOid)
    • checkNotResourceScoped

      public void checkNotResourceScoped()
    • areObjectTypeScoped

      public boolean areObjectTypeScoped()
    • areObjectClassScoped

      public boolean areObjectClassScoped()