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 WebRepositoryViewer
getNewWebRepositoryViewerInstance(@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.void
setPluginAccessor(com.atlassian.plugin.PluginAccessor pluginAccessor)
-
-
-
Method Detail
-
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
@NotNull public @NotNull List<WebRepositoryViewer> 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)
-
-