Interface ResourceObjectProcessingContext

All Known Subinterfaces:
PreInboundsContext<F>
All Known Implementing Classes:
ResourceObjectProcessingContextImpl, SimplePreInboundsContextImpl, SynchronizationContext, SynchronizationContext.Complete

@Experimental public interface ResourceObjectProcessingContext
A context generally useful for the manipulation of a shadow, e.g. correlation or synchronization. We use it to avoid repeating the contained data throughout various "context" classes (SynchronizationContext, CorrelationContext, ...).
  • Method Details

    • getShadowedResourceObject

      @NotNull @NotNull ShadowType getShadowedResourceObject()
      Returns shadowed resource object, or - at least - so-called "combined object" in the sense used in ResourceObjectClassifier FIXME
    • getResourceObjectDelta

      @Nullable @Nullable ObjectDelta<ShadowType> getResourceObjectDelta()
    • getResource

      @NotNull @NotNull ResourceType getResource()
    • getSystemConfiguration

      @Nullable @Nullable SystemConfigurationType getSystemConfiguration()
    • getChannel

      @Nullable @Nullable String getChannel()
      Returns the channel relevant to the current operation. It may be a channel from ResourceObjectShadowChangeDescription or from a task.
    • getTask

      @NotNull @NotNull Task getTask()
    • createVariablesMap

      @NotNull default @NotNull VariablesMap createVariablesMap()
      Returns VariablesMap relevant for the current context.
    • createDefaultVariablesMap

      @NotNull default @NotNull VariablesMap createDefaultVariablesMap()
      To be used in implementations of createVariablesMap().
    • getBeans

      @NotNull @NotNull ModelBeans getBeans()
      Useful Spring beans.