Class WebRepositoryViewerManagerImpl
java.lang.Object
com.atlassian.bamboo.webrepository.WebRepositoryViewerManagerImpl
- All Implemented Interfaces:
WebRepositoryViewerManager
-
Field Summary
Fields inherited from interface com.atlassian.bamboo.webrepository.WebRepositoryViewerManager
WEB_REPO_GENERIC_KEY, WEB_REPO_NONE_KEY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@Nullable WebRepositoryViewer
getNewWebRepositoryViewerInstance
(@Nullable String key) Gets a new instance of a WebRepositoryViewer plugin associated with the given key@NotNull List<WebRepositoryViewerModuleDescriptor>
Return list of enabled web repository viewer plugins.@NotNull List<WebRepositoryViewer>
Return a list of all installed WebRepositoryViewer plugins.void
setPluginAccessor
(com.atlassian.plugin.PluginAccessor pluginAccessor)
-
Constructor Details
-
WebRepositoryViewerManagerImpl
public WebRepositoryViewerManagerImpl()
-
-
Method Details
-
getWebRepositoryViewerModuleDescriptors
@NotNull public @NotNull List<WebRepositoryViewerModuleDescriptor> getWebRepositoryViewerModuleDescriptors()Description copied from interface:WebRepositoryViewerManager
Return list of enabled web repository viewer plugins.- Specified by:
getWebRepositoryViewerModuleDescriptors
in interfaceWebRepositoryViewerManager
-
getWebRepositoryViewers
Description copied from interface:WebRepositoryViewerManager
Return a list of all installed WebRepositoryViewer plugins.- Specified by:
getWebRepositoryViewers
in interfaceWebRepositoryViewerManager
- Returns:
- a list of all installed WebRepositoryViewer plugins
-
getNewWebRepositoryViewerInstance
@Nullable public @Nullable WebRepositoryViewer getNewWebRepositoryViewerInstance(@Nullable @Nullable String key) Description copied from interface:WebRepositoryViewerManager
Gets a new instance of a WebRepositoryViewer plugin associated with the given key- Specified by:
getNewWebRepositoryViewerInstance
in 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)
-