Interface VcsRepositoryViewerManager
-
- All Known Implementing Classes:
VcsRepositoryViewerManagerImpl
public interface VcsRepositoryViewerManager
Accessor for repository viewer plugins.- Since:
- 5.14
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @Nullable Web2VcsRepositoryViewerConverter
findConverterFor(@NotNull String pluginKey)
Looks for converted of an old style repository plugin data to a new style plugin data.Stream<VcsRepositoryViewerModuleDescriptor>
getAvailableRepositoryViewers()
@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 Detail
-
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
@Nullable @Nullable VcsRepositoryViewer getViewerForRepository(VcsRepositoryData vcsRepositoryData)
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
-
-