Class CorrelationContext.Shadow

All Implemented Interfaces:
DebugDumpable, Cloneable
Enclosing class:

public static class CorrelationContext.Shadow extends CorrelationContext
Context for correlating a shadow to a set of matching focuses.
  • Constructor Details

  • Method Details

    • getResourceObject

      @NotNull public @NotNull ShadowType getResourceObject()
    • getResource

      @NotNull public @NotNull ResourceType getResource()
    • getResourceObjectDefinition

      @NotNull public @NotNull ResourceObjectDefinition getResourceObjectDefinition()
    • getArchetypeOid

      @Nullable public @Nullable String getArchetypeOid()
      Description copied from class: CorrelationContext
      Returns the archetype for focus objects that the candidate(s) must possess. Null means "no restrictions".
      Specified by:
      getArchetypeOid in class CorrelationContext
    • getCandidateOids

      @NotNull public @NotNull Set<String> getCandidateOids()
      Description copied from class: CorrelationContext
      Returns candidate owners provided by previous correlator(s), if any. Background: If more child correlators are defined to be used, they will run separately (at least under the default implementation of the composite correlator), one after another. The original implementation executed each of the correlators independently, so that (typically) each of them issued its own query over all population of focus objects. The results were then combined by the composite correlator. However, there might be situations where subsequent correlators should just _refine_ the results returned by previous one(s). For that, we want to retain the relevant candidate owner(s) OID(s) in the context, and use that to limit search within those correlators. Empty set means "no previous candidates available", i.e. no restrictions will be applied. LIMITED USE. Currently used only "identification recovery" feature - for CorrelationContext.Focus context and `items` correlator.
      Specified by:
      getCandidateOids in class CorrelationContext
    • asShadowCtx

      @NotNull public @NotNull CorrelationContext.Shadow asShadowCtx()
      Specified by:
      asShadowCtx in class CorrelationContext
    • getPrimaryCorrelatedObject

      @NotNull public @NotNull ObjectType getPrimaryCorrelatedObject()
      Description copied from class: CorrelationContext
      Returns the object (e.g. shadow or focus) that is being correlated. Currently for logging purposes.
      Specified by:
      getPrimaryCorrelatedObject in class CorrelationContext
    • toString

      public String toString()
      toString in class Object