public class VcsRepositoryViewerManagerImpl extends Object implements VcsRepositoryViewerManager
Constructor and Description |
---|
VcsRepositoryViewerManagerImpl(com.atlassian.plugin.PluginAccessor pluginAccessor,
WebRepositoryViewerManager webRepositoryViewerManager) |
Modifier and Type | Method and 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(@NotNull VcsRepositoryData vcsRepositoryData)
Get viewer configured for a repository.
|
public VcsRepositoryViewerManagerImpl(com.atlassian.plugin.PluginAccessor pluginAccessor, WebRepositoryViewerManager webRepositoryViewerManager)
public Stream<VcsRepositoryViewerModuleDescriptor> getAvailableRepositoryViewers()
getAvailableRepositoryViewers
in interface VcsRepositoryViewerManager
@NotNull public @NotNull Stream<VcsRepositoryViewerModuleDescriptor> getAvailableViewersForRepositoryType(String pluginKey)
getAvailableViewersForRepositoryType
in interface VcsRepositoryViewerManager
@Nullable public @Nullable VcsRepositoryViewerModuleDescriptor getVcsRepositoryViewerModuleDescriptor(@NotNull @NotNull String pluginKey)
VcsRepositoryViewerManager
getVcsRepositoryViewerModuleDescriptor
in interface VcsRepositoryViewerManager
@Nullable public @Nullable VcsRepositoryViewer getViewerForRepository(@NotNull @NotNull VcsRepositoryData vcsRepositoryData)
VcsRepositoryViewerManager
getViewerForRepository
in interface VcsRepositoryViewerManager
@Nullable public @Nullable Web2VcsRepositoryViewerConverter findConverterFor(@NotNull @NotNull String pluginKey)
VcsRepositoryViewerManager
findConverterFor
in interface VcsRepositoryViewerManager
pluginKey
- key of an old pluginCopyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.
View cookie preferences