Interface Synchronizer


  • public interface Synchronizer
    Represents the synchronizer of user data, group data and their relationships.
    Since:
    8.0
    Author:
    Maxim Podkolzine (maxim.podkolzine@jetbrains.com)
    See Also:
    SynchronizerManager
    • Method Detail

      • getInfo

        @NotNull
        SynchronizerInfo getInfo()
        Returns the corresponding info structure
        Returns:
        corresponding info structure
      • syncNow

        void syncNow()
        Performs the synchronization, updates the statistics. Only one synchronization can happen at a time.
      • syncUserNow

        void syncUserNow​(@NotNull
                         SUser user)
        Performs the synchronization of the specified user. Doesn't update the statistics. Only one synchronization can happen at a time.
        Parameters:
        user - the user to synchronize
      • syncUserGroupNow

        void syncUserGroupNow​(@NotNull
                              SUserGroup userGroup)
        Performs the synchronization of the specified user group. Doesn't update the statistics. Only one synchronization can happen at a time.
        Parameters:
        userGroup - the user group to synchronize
      • setState

        void setState​(@NotNull
                      SyncState state)
        Updates the state
        Parameters:
        state - new state
      • getState

        @NotNull
        SyncState getState()
        Returns the state.
        Returns:
        the state