Interface LinkedProjectConfigService.LinkedProjectConfigListener

All Known Implementing Classes:
RemoteClusterAware, RemoteClusterService
Enclosing interface:
LinkedProjectConfigService

public static interface LinkedProjectConfigService.LinkedProjectConfigListener
Listener interface for receiving updates about linked project configurations. Implementations must not throw from any of the interface methods.
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    skipUnavailableChanged(ProjectId originProjectId, ProjectId linkedProjectId, String linkedProjectAlias, boolean skipUnavailable)
    Called when the boolean skip_unavailable setting has changed for a linked project configuration.
    void
    Called when a linked project configuration has been added or updated.
  • Method Details

    • updateLinkedProject

      void updateLinkedProject(LinkedProjectConfig config)
      Called when a linked project configuration has been added or updated.
      Parameters:
      config - The updated LinkedProjectConfig.
    • skipUnavailableChanged

      default void skipUnavailableChanged(ProjectId originProjectId, ProjectId linkedProjectId, String linkedProjectAlias, boolean skipUnavailable)
      Called when the boolean skip_unavailable setting has changed for a linked project configuration. Note that skip_unavailable may not be supported in all contexts where linked projects are used.
      Parameters:
      originProjectId - The ProjectId of the owning project that has the linked project configuration.
      linkedProjectId - The ProjectId of the linked project.
      linkedProjectAlias - The alias used for the linked project.
      skipUnavailable - The new value of the skip_unavailable setting.