public interface VcsRepositoryViewerManager
Modifier and Type | Method and Description |
---|---|
Web2VcsRepositoryViewerConverter |
findConverterFor(String pluginKey)
Looks for converted of an old style repository plugin data to a new style plugin data.
|
Stream<VcsRepositoryViewerModuleDescriptor> |
getAvailableRepositoryViewers() |
Stream<VcsRepositoryViewerModuleDescriptor> |
getAvailableViewersForRepositoryType(String pluginKey) |
VcsRepositoryViewerModuleDescriptor |
getVcsRepositoryViewerModuleDescriptor(String pluginKey)
Return module descriptor for given plugin key or null if it doesn't exists or plugin is disabled.
|
VcsRepositoryViewer |
getViewerForRepository(VcsRepositoryData vcsRepositoryData)
Get viewer configured for a repository.
|
Stream<VcsRepositoryViewerModuleDescriptor> getAvailableRepositoryViewers()
@NotNull Stream<VcsRepositoryViewerModuleDescriptor> getAvailableViewersForRepositoryType(String pluginKey)
@Nullable VcsRepositoryViewerModuleDescriptor getVcsRepositoryViewerModuleDescriptor(@NotNull String pluginKey)
pluginKey
- @Nullable VcsRepositoryViewer getViewerForRepository(VcsRepositoryData vcsRepositoryData)
vcsRepositoryData
- @Nullable Web2VcsRepositoryViewerConverter findConverterFor(@NotNull String pluginKey)
pluginKey
- key of an old pluginCopyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.