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
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,
Repository repository)
- Description copied from interface:
WebRepositoryViewer
- Renders the html to display the full commits on the changes tab.
- Parameters:
resultsSummary
- the summary to show commits forrepository
- 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,
Repository repository)
- 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 forrepository
- the commits belong to aka the plans repository
- 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 © 2011 Atlassian. All Rights Reserved.