Package com.atlassian.bamboo.v2.build
Interface RenderableBuildConfiguration
- All Known Subinterfaces:
BuildConfigurationAwarePlugin<T>,BuildTriggerCondition,ConfigurablePlugin<T>,DependenciesPlanConfigurationPlugin,ImportExportAwarePlugin<T,,P> MiscellaneousPlanConfigurationPlugin,PlanConfigurationUiPlugin
- All Known Implementing Classes:
ArtifactHandlerForPlanConfigurator,AutomaticDependencyManagementPlugin,BaseBuildConfigurationAwarePlugin,BaseConfigurableBuildPlugin,BaseConfigurablePlugin,BrokenBuildPostProcessor,BuildExpiryPerPlanPlugin,BuildLabellerCustomBuildProcessor,BuildMonitoringPerPlanPlugin,CloverBuildProcessor,ConcurrentBuildsPlanConfigurationPlugin,HangingBuildConfigurationPlugin,HungBuildPlanConfigurationPlugin,PlansGreenCondition,SkipTestHistoryConfigurationItem
public interface RenderableBuildConfiguration
-
Method Summary
Modifier and TypeMethodDescription@Nullable StringgetEditHtml(@NotNull BuildConfiguration buildConfiguration, @Nullable Plan plan) Returns HTML that represents the form fragment for editing the repository.@Nullable StringgetViewHtml(@NotNull Plan plan) Returns the HTML that represents the view of the repository configuration
-
Method Details
-
getViewHtml
Returns the HTML that represents the view of the repository configuration- Parameters:
plan- for which view HTML has to be rendered.- Returns:
- HTML string. May be null.
-
getEditHtml
@Nullable @Nullable String getEditHtml(@NotNull @NotNull BuildConfiguration buildConfiguration, @Nullable @Nullable Plan plan) Returns HTML that represents the form fragment for editing the repository. No opening and closing form tags are required.- Parameters:
buildConfiguration-BuildConfigurationfor which edit HTML has to be rendered.plan-Planfor which edit HTML has to be rendered. May be null during creation phase of plan.- Returns:
- HTML string. May be null.
-