Interface VcsRepositoryViewerManager
- All Known Implementing Classes:
VcsRepositoryViewerManagerImpl
public interface VcsRepositoryViewerManager
Accessor for repository viewer plugins.
- Since:
- 5.14
-
Method Summary
Modifier and TypeMethodDescription@Nullable Web2VcsRepositoryViewerConverter
findConverterFor
(@NotNull String pluginKey) Looks for converted of an old style repository plugin data to a new style plugin data.@NotNull Stream<VcsRepositoryViewerModuleDescriptor>
getAvailableViewersForRepositoryType
(String pluginKey) @Nullable VcsRepositoryViewerModuleDescriptor
getVcsRepositoryViewerModuleDescriptor
(@NotNull String pluginKey) Return module descriptor for given plugin key or null if it doesn't exists or plugin is disabled.@Nullable VcsRepositoryViewer
getViewerForRepository
(VcsRepositoryData vcsRepositoryData) Get viewer configured for a repository.
-
Method Details
-
getAvailableRepositoryViewers
Stream<VcsRepositoryViewerModuleDescriptor> getAvailableRepositoryViewers() -
getAvailableViewersForRepositoryType
@NotNull @NotNull Stream<VcsRepositoryViewerModuleDescriptor> getAvailableViewersForRepositoryType(String pluginKey) -
getVcsRepositoryViewerModuleDescriptor
@Nullable @Nullable VcsRepositoryViewerModuleDescriptor getVcsRepositoryViewerModuleDescriptor(@NotNull @NotNull String pluginKey) Return module descriptor for given plugin key or null if it doesn't exists or plugin is disabled.- Parameters:
pluginKey
-
-
getViewerForRepository
Get viewer configured for a repository.- Parameters:
vcsRepositoryData
-- Returns:
-
findConverterFor
@Nullable @Nullable Web2VcsRepositoryViewerConverter findConverterFor(@NotNull @NotNull String pluginKey) Looks for converted of an old style repository plugin data to a new style plugin data.- Parameters:
pluginKey
- key of an old plugin- Returns:
- converter class or null if none available
-