Interface ResourceObjectChangeListener

    • Method Detail

      • notifyChange

        void notifyChange​(@NotNull
                          @NotNull ResourceObjectShadowChangeDescription change,
                          Task task,
                          OperationResult parentResult)
        Submits notification about a specific change that happened on the resource.

        This describes the change that has already happened on the resource. The upper layers are notified to take that change into an account (synchronize it).

        The call should return without a major delay. It means that the implementation can do calls to repository, but it should not (synchronously) initiate a long-running process or provisioning request.

        This operation may be called multiple times with the same change, e.g. in case of failures in IDM or on the resource. The implementation must be able to handle such duplicates.

        Parameters:
        change - change description