com.atlassian.bamboo.v2.build
Interface RenderableBuildConfiguration

All Known Subinterfaces:
BitbucketDelegatedRepository, BranchAwareRepository, BranchDetectionCapableRepository, BranchingAwareRepository, BranchMergingAwareRepository, BuildConfigurationAwarePlugin, BuildConfigurationUIPlugin, BuildTriggerCondition, CachingAwareRepository, CommitIsolationAwareRepository, CommitUrlProvider, ConfigurablePlugin, CustomRevisionDataAwareRepository, CustomSourceDirectoryAwareRepository, CustomVariableProviderRepository, DependenciesBuildConfigurationPlugin, IncludeExcludeAwareRepository, InitialBuildAwareRepository, MavenPomAccessorCapableRepository, MiscellaneousBuildConfigurationPlugin, OnceOffCapableRepository, PostConfigurableRepository, PreparableRepository, PushCapableRepository, QuietPeriodAwareRepository, Repository, RepositoryEventAware, RequirementsAwareRepository, SelectableAuthenticationRepository, StandaloneRepository, TaggingAwareRepository, WebRepositoryViewer
All Known Implementing Classes:
AbstractRepository, AbstractStandaloneRepository, AbstractWebRepositoryViewer, AppLinksSvnRepository, AppLinksWebRepositoryViewer, ArtifactHandlerForPlanConfigurator, AutomaticDependencyManagementPlugin, BaseBuildConfigurationAwarePlugin, BaseConfigurableBuildPlugin, BaseConfigurablePlugin, BitbucketRepository, BrokenBuildConfiguration, BrokenBuildPostProcessor, BuildExpiryPerPlanPlugin, BuildLabeller, BuildMonitoringPerPlanPlugin, CloverBuildProcessor, ConcurrentBuildsPlanConfigurationPlugin, CVSRepository, DefaultWebRepositoryViewer, FisheyeWebRepositoryViewer, HgRepository, HgWebRepositoryViewer, NoWebRepositoryViewer, NullRepository, PerforceRepository, PlansGreenCondition, StashWebRepositoryViewer, SvnRepository

public interface RenderableBuildConfiguration


Method Summary
 java.lang.String getEditHtml(BuildConfiguration buildConfiguration, Plan plan)
          Returns HTML that represents the form fragment for editing the repository.
 java.lang.String getViewHtml(Plan plan)
          Returns the HTML that represents the view of the repository configuration
 

Method Detail

getViewHtml

@Nullable
java.lang.String getViewHtml(@NotNull
                                      Plan plan)
Returns the HTML that represents the view of the repository configuration

Parameters:
build - Build for which view HTML has to be rendered.
plan -
Returns:
HTML string. May be null.

getEditHtml

@Nullable
java.lang.String getEditHtml(@NotNull
                                      BuildConfiguration buildConfiguration,
                                      @Nullable
                                      Plan plan)
Returns HTML that represents the form fragment for editing the repository. No opening and closing form tags are required.

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.