Class WebRepositoryViewerManagerImpl
- java.lang.Object
-
- com.atlassian.bamboo.webrepository.WebRepositoryViewerManagerImpl
-
- All Implemented Interfaces:
WebRepositoryViewerManager
public class WebRepositoryViewerManagerImpl extends Object implements WebRepositoryViewerManager
-
-
Field Summary
-
Fields inherited from interface com.atlassian.bamboo.webrepository.WebRepositoryViewerManager
WEB_REPO_GENERIC_KEY, WEB_REPO_NONE_KEY
-
-
Constructor Summary
Constructors Constructor Description WebRepositoryViewerManagerImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable WebRepositoryViewergetNewWebRepositoryViewerInstance(@Nullable String key)Gets a new instance of a WebRepositoryViewer plugin associated with the given key@NotNull List<WebRepositoryViewerModuleDescriptor>getWebRepositoryViewerModuleDescriptors()Return list of enabled web repository viewer plugins.@NotNull List<WebRepositoryViewer>getWebRepositoryViewers()Return a list of all installed WebRepositoryViewer plugins.voidsetPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)
-
-
-
Method Detail
-
getWebRepositoryViewerModuleDescriptors
@NotNull public @NotNull List<WebRepositoryViewerModuleDescriptor> getWebRepositoryViewerModuleDescriptors()
Description copied from interface:WebRepositoryViewerManagerReturn list of enabled web repository viewer plugins.- Specified by:
getWebRepositoryViewerModuleDescriptorsin interfaceWebRepositoryViewerManager
-
getWebRepositoryViewers
@NotNull public @NotNull List<WebRepositoryViewer> getWebRepositoryViewers()
Description copied from interface:WebRepositoryViewerManagerReturn a list of all installed WebRepositoryViewer plugins.- Specified by:
getWebRepositoryViewersin interfaceWebRepositoryViewerManager- Returns:
- a list of all installed WebRepositoryViewer plugins
-
getNewWebRepositoryViewerInstance
@Nullable public @Nullable WebRepositoryViewer getNewWebRepositoryViewerInstance(@Nullable @Nullable String key)
Description copied from interface:WebRepositoryViewerManagerGets a new instance of a WebRepositoryViewer plugin associated with the given key- Specified by:
getNewWebRepositoryViewerInstancein interfaceWebRepositoryViewerManager- Parameters:
key- : full key of the WebRepositoryViewer plugin- Returns:
- the new instance of the WebRepositoryViewer.
-
setPluginAccessor
public void setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)
-
-