public abstract class AbstractWebRepositoryViewer extends BaseConfigurablePlugin implements WebRepositoryViewer
moduleDescriptor, templateRendererSELECTED_WEB_REPOSITORY_VIEWER, WEB_REPOSITORY| Constructor and Description |
|---|
AbstractWebRepositoryViewer() |
| Modifier and Type | Method and Description |
|---|---|
@NotNull String |
getKey()
The full complete plugin key for the repository viewer
|
@NotNull String |
getName()
The name of the web repository viewer, as displayed in the UI.
|
@NotNull String |
getShortKey()
The shorter version fo the plugin key (without prefix and should not contain any ':')
|
@NotNull Collection<String> |
getSupportedRepositories()
The keys for the
Repository classes that the web viewer currently supports. |
void |
populateFromConfig(@NotNull org.apache.commons.configuration.HierarchicalConfiguration config)
Update the current object with data in the
HierarchicalConfiguration |
void |
populateFromParams(@NotNull ActionParametersMap params)
takes the map of config data from action and extracts the parameters it needs
|
@NotNull org.apache.commons.configuration.HierarchicalConfiguration |
toConfiguration()
Generate a
HierarchicalConfiguration from the current state of the object |
customizeBuildRequirements, removeBuildRequirementsaddDefaultValues, getEditHtml, getTemplateRenderer, getViewHtml, init, populateContextForEdit, populateContextForView, prepareConfigObject, setTemplateRenderer, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetHtmlForCommitsFull, getHtmlForCommitsSummarycustomizeBuildRequirements, removeBuildRequirementsaddDefaultValues, isConfigurationMissing, prepareConfigObject, validateinitgetEditHtml, getViewHtml@NotNull public @NotNull String getKey()
WebRepositoryViewergetKey in interface WebRepositoryViewer@NotNull public @NotNull String getShortKey()
WebRepositoryViewergetShortKey in interface WebRepositoryViewer@NotNull public @NotNull String getName()
WebRepositoryViewergetName in interface WebRepositoryViewer@NotNull public @NotNull Collection<String> getSupportedRepositories()
WebRepositoryViewerRepository classes that the web viewer currently supports.
If list is empty or null it assumes support for all repositories.getSupportedRepositories in interface WebRepositoryViewerpublic void populateFromParams(@NotNull
@NotNull ActionParametersMap params)
populateFromParams in interface WebRepositoryViewerparams - map of key (String), value (String []) pairs from actionpublic void populateFromConfig(@NotNull
@NotNull org.apache.commons.configuration.HierarchicalConfiguration config)
ConvertibleFromConfigHierarchicalConfigurationpopulateFromConfig in interface ConvertibleFromConfig@NotNull public @NotNull org.apache.commons.configuration.HierarchicalConfiguration toConfiguration()
ConvertibleFromConfigHierarchicalConfiguration from the current state of the objecttoConfiguration in interface ConvertibleFromConfigHierarchicalConfiguration. Never nullCopyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.