Interface IExternalRepositoryProvider.IExternalRepository
- All Known Subinterfaces:
IExternalRtRepository
- Enclosing interface:
- IExternalRepositoryProvider
public static interface IExternalRepositoryProvider.IExternalRepository
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
-
Method Summary
Modifier and TypeMethodDescriptionboolean
In "auto polling" mode the provider notifies system automatically and the methodpoll(PollMode)
is called only during startup.getChangedLocations
(String revision) Returns list of ILocationChangeMetaDatagetRevisionMetaData
(String revision) getRevisionViewURL
(String revision) URL used for navigating from Web UI to detail of this revision.getViewLocationDiffURL
(ILocationChangeMetaData locationChangeMetaData) URL used for navigating from Web UI to detail of this path in diff format.getViewLocationURL
(ILocationChangeMetaData locationChangeMetaData) URL used for navigating from Web UI to detail of this path.void
Notifies the system about new revisions.void
reconfigure
(IExternalRepositoryConfiguration newConfiguration) Called when configuration is changed to apply the changes.void
Starts the auto polling.void
Stops the auto polling.
-
Method Details
-
getContextId
IContextId getContextId() -
getRevisionViewURL
URL used for navigating from Web UI to detail of this revision.- Parameters:
revision
-- Returns:
- URL that can use variable $revision$
-
getViewLocationDiffURL
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
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
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 methodpoll(PollMode)
is called only during startup.- Returns:
- whether this provider supports "auto polling"
-
startAutoPolling
void startAutoPolling()Starts the auto polling. Called only ifallowsAutoPolling()
returnstrue
. -
stopAutoPolling
void stopAutoPolling()Stops the auto polling. Called only ifallowsAutoPolling()
returnstrue
. -
getRevisionMetaData
- Parameters:
revision
-- Returns:
- details of the revision
-
getConfiguration
IExternalRepositoryConfiguration getConfiguration()- Returns:
- the configuration used by this repository
-
reconfigure
Called when configuration is changed to apply the changes.- Parameters:
newConfiguration
-
-