@Deprecated public interface WebRepositoryViewer extends ConfigurablePlugin, ConvertibleFromConfig, Serializable
CommitUrlProvider| Modifier and Type | Field and Description |
|---|---|
static String |
SELECTED_WEB_REPOSITORY_VIEWER
Deprecated.
Constant for fetching out the selected web repository viewer key from a
BuildConfiguration |
static String |
WEB_REPOSITORY
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getHtmlForCommitsFull(ResultsSummary resultsSummary,
RepositoryChangeset repositoryChangeset,
RepositoryData repositoryData)
Deprecated.
Renders the html to display the full commits on the changes tab.
|
String |
getHtmlForCommitsSummary(ResultsSummary resultsSummary,
RepositoryChangeset repositoryChangeset,
RepositoryData repositoryData,
int maxChanges)
Deprecated.
Renders the html to display a summary of the commits on the Build Results Summary tab.
|
String |
getKey()
Deprecated.
The full complete plugin key for the repository viewer
|
String |
getName()
Deprecated.
The name of the web repository viewer, as displayed in the UI.
|
String |
getShortKey()
Deprecated.
The shorter version fo the plugin key (without prefix and should not contain any ':')
|
Collection<String> |
getSupportedRepositories()
Deprecated.
The keys for the
Repository classes that the web viewer currently supports. |
void |
populateFromParams(ActionParametersMap params)
Deprecated.
takes the map of config data from action and extracts the parameters it needs
|
customizeBuildRequirements, removeBuildRequirementsaddDefaultValues, isConfigurationMissing, prepareConfigObject, validateinitgetEditHtml, getViewHtmlpopulateFromConfig, toConfigurationstatic final String SELECTED_WEB_REPOSITORY_VIEWER
BuildConfigurationstatic final String WEB_REPOSITORY
@NotNull String getKey()
@NotNull String getShortKey()
@NotNull String getName()
@NotNull Collection<String> getSupportedRepositories()
Repository classes that the web viewer currently supports.
If list is empty or null it assumes support for all repositories.String getHtmlForCommitsFull(@NotNull ResultsSummary resultsSummary, @NotNull RepositoryChangeset repositoryChangeset, @NotNull RepositoryData repositoryData)
resultsSummary - the summary to show commits forrepositoryData - the commits belong to aka the plans repositoryString getHtmlForCommitsSummary(@NotNull ResultsSummary resultsSummary, @NotNull RepositoryChangeset repositoryChangeset, @NotNull RepositoryData repositoryData, int maxChanges)
resultsSummary - the summary to show commits forrepositoryData - the commits belong to aka the plans repositorymaxChanges - maximum number of commits to be shown. Negative value means that all commits should be shown.void populateFromParams(@NotNull
ActionParametersMap params)
params - map of key (String), value (String []) pairs from actionCopyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.