Interface IExternalRepositoryProvider.IExternalRepository

All Known Subinterfaces:
IExternalRtRepository
Enclosing interface:
IExternalRepositoryProvider

public static interface IExternalRepositoryProvider.IExternalRepository
  • Method Details

    • getContextId

      IContextId getContextId()
    • getRevisionViewURL

      String getRevisionViewURL(@NotNull String revision)
      URL used for navigating from Web UI to detail of this revision.
      Parameters:
      revision -
      Returns:
      URL that can use variable $revision$
    • getViewLocationDiffURL

      String getViewLocationDiffURL(@NotNull ILocationChangeMetaData locationChangeMetaData)
      URL used for navigating from Web UI to detail of this path in diff format.
      Parameters:
      locationChangeMetaData -
      Returns:
      URL that can use variables $revision$, $location$
      Since:
      3.5.2
    • getViewLocationURL

      String getViewLocationURL(@NotNull ILocationChangeMetaData locationChangeMetaData)
      URL used for navigating from Web UI to detail of this path.
      Parameters:
      locationChangeMetaData -
      Returns:
      URL that can use variables $revision$, $location$
      Since:
      3.5.2
    • getChangedLocations

      List<ILocationChangeMetaData> getChangedLocations(@NotNull String revision)
      Returns list of ILocationChangeMetaData
      Parameters:
      revision -
      Returns:
      list of ILocationChangeMetaData
      Since:
      3.5.2
    • poll

      Notifies the system about new revisions.
      Parameters:
      mode -
      See Also:
    • allowsAutoPolling

      boolean allowsAutoPolling()
      In "auto polling" mode the provider notifies system automatically and the method poll(PollMode) is called only during startup.
      Returns:
      whether this provider supports "auto polling"
    • startAutoPolling

      void startAutoPolling()
      Starts the auto polling. Called only if allowsAutoPolling() returns true.
    • stopAutoPolling

      void stopAutoPolling()
      Stops the auto polling. Called only if allowsAutoPolling() returns true.
    • getRevisionMetaData

      IRevisionMetaData getRevisionMetaData(@NotNull String revision)
      Parameters:
      revision -
      Returns:
      details of the revision
    • getConfiguration

      Returns:
      the configuration used by this repository
    • reconfigure

      void reconfigure(@NotNull IExternalRepositoryConfiguration newConfiguration)
      Called when configuration is changed to apply the changes.
      Parameters:
      newConfiguration -