com.atlassian.bamboo.webrepository
Class NoWebRepositoryViewer
java.lang.Object
com.atlassian.bamboo.v2.build.BaseBuildConfigurationAwarePlugin
com.atlassian.bamboo.v2.build.BaseConfigurablePlugin
com.atlassian.bamboo.webrepository.AbstractWebRepositoryViewer
com.atlassian.bamboo.webrepository.NoWebRepositoryViewer
- All Implemented Interfaces:
- ConvertibleFromConfig, InitablePluginModule, BambooPluginModule, BuildConfigurationAwarePlugin, ConfigurablePlugin, RenderableBuildConfiguration, WebRepositoryViewer, java.io.Serializable
public class NoWebRepositoryViewer
- extends AbstractWebRepositoryViewer
- See Also:
- Serialized Form
Method Summary |
java.lang.String |
getEditHtml(BuildConfiguration buildConfiguration,
Plan plan)
Returns HTML that represents the form fragment for editing the repository. |
java.lang.String |
getHtmlForCommitsFull(ResultsSummary resultsSummary,
RepositoryChangeset repositoryChangeset,
RepositoryData repositoryDefinition)
Renders the html to display the full commits on the changes tab. |
java.lang.String |
getHtmlForCommitsFull(ResultsSummary resultsSummary,
RepositoryChangeset repositoryChangeset,
RepositoryDefinition repositoryData)
Renders the html to display the full commits on the changes tab. |
java.lang.String |
getHtmlForCommitsSummary(ResultsSummary resultsSummary,
RepositoryChangeset repositoryChangeset,
RepositoryData repositoryData,
int maxChanges)
Renders the html to display a summary of the commits on the Build Results Summary tab. |
java.lang.String |
getHtmlForCommitsSummary(ResultsSummary resultsSummary,
RepositoryChangeset repositoryChangeset,
RepositoryDefinition repositoryData)
Renders the html to display a summary of the commits on the Build Results Summary tab. |
java.lang.String |
getHtmlForCommitsSummary(ResultsSummary resultsSummary,
RepositoryChangeset repositoryChangeset,
RepositoryDefinition repositoryData,
int maxChanges)
Renders the html to display a summary of the commits on the Build Results Summary tab. |
java.lang.String |
getViewHtml(Plan plan)
Returns the HTML that represents the view of the repository configuration |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NoWebRepositoryViewer
public NoWebRepositoryViewer()
getHtmlForCommitsFull
public java.lang.String getHtmlForCommitsFull(@NotNull
ResultsSummary resultsSummary,
@NotNull
RepositoryChangeset repositoryChangeset,
@NotNull
RepositoryData repositoryDefinition)
- Description copied from interface:
WebRepositoryViewer
- Renders the html to display the full commits on the changes tab.
- Specified by:
getHtmlForCommitsFull
in interface WebRepositoryViewer
- Overrides:
getHtmlForCommitsFull
in class AbstractWebRepositoryViewer
- Parameters:
resultsSummary
- the summary to show commits forrepositoryDefinition
- the commits belong to aka the plans repository
- Returns:
- Html to be displayed on the UI in the Changes Tab.
getHtmlForCommitsSummary
public java.lang.String getHtmlForCommitsSummary(@NotNull
ResultsSummary resultsSummary,
@NotNull
RepositoryChangeset repositoryChangeset,
@NotNull
RepositoryDefinition repositoryData)
- Description copied from interface:
WebRepositoryViewer
- Renders the html to display a summary of the commits on the Build Results Summary tab.
- Parameters:
resultsSummary
- the summary to show commits for
- Returns:
- Html to displayed on the UI in the Build Results Summary Tab.
getHtmlForCommitsFull
public java.lang.String getHtmlForCommitsFull(@NotNull
ResultsSummary resultsSummary,
@NotNull
RepositoryChangeset repositoryChangeset,
@NotNull
RepositoryDefinition repositoryData)
- Description copied from interface:
WebRepositoryViewer
- Renders the html to display the full commits on the changes tab.
- Parameters:
resultsSummary
- the summary to show commits forrepositoryData
- the commits belong to aka the plans repository
- Returns:
- Html to be displayed on the UI in the Changes Tab.
getHtmlForCommitsSummary
public java.lang.String getHtmlForCommitsSummary(@NotNull
ResultsSummary resultsSummary,
@NotNull
RepositoryChangeset repositoryChangeset,
@NotNull
RepositoryDefinition repositoryData,
int maxChanges)
- Description copied from interface:
WebRepositoryViewer
- Renders the html to display a summary of the commits on the Build Results Summary tab.
- Parameters:
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.
- Returns:
- Html to displayed on the UI in the Build Results Summary Tab.
getHtmlForCommitsSummary
public java.lang.String getHtmlForCommitsSummary(@NotNull
ResultsSummary resultsSummary,
@NotNull
RepositoryChangeset repositoryChangeset,
@NotNull
RepositoryData repositoryData,
int maxChanges)
- Description copied from interface:
WebRepositoryViewer
- Renders the html to display a summary of the commits on the Build Results Summary tab.
- Specified by:
getHtmlForCommitsSummary
in interface WebRepositoryViewer
- Overrides:
getHtmlForCommitsSummary
in class AbstractWebRepositoryViewer
- Parameters:
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.
- Returns:
- Html to displayed on the UI in the Build Results Summary Tab.
getViewHtml
public java.lang.String getViewHtml(@NotNull
Plan plan)
- Description copied from interface:
RenderableBuildConfiguration
- Returns the HTML that represents the view of the repository configuration
- Specified by:
getViewHtml
in interface RenderableBuildConfiguration
- Overrides:
getViewHtml
in class BaseBuildConfigurationAwarePlugin
- Returns:
- HTML string. May be null.
getEditHtml
public java.lang.String getEditHtml(@NotNull
BuildConfiguration buildConfiguration,
@NotNull
Plan plan)
- Description copied from interface:
RenderableBuildConfiguration
- Returns HTML that represents the form fragment for editing the repository. No opening and closing form tags are
required.
- Specified by:
getEditHtml
in interface RenderableBuildConfiguration
- Overrides:
getEditHtml
in class BaseBuildConfigurationAwarePlugin
- Parameters:
buildConfiguration
- BuildConfiguration
for which edit HTML has to be rendered.plan
- Plan
for which edit HTML has to be rendered. May be null during creation phase of plan.
- Returns:
- HTML string. May be null.
Copyright © 2012 Atlassian. All Rights Reserved.