com.atlassian.bamboo.plugin.web
Interface PlanConfigurationUIPluginHelper

All Known Implementing Classes:
PlanConfigurationPluginUIHelperImpl

public interface PlanConfigurationUIPluginHelper


Method Summary
<T extends BuildConfigurationUIPlugin>
java.lang.Iterable<T>
getBuildConfigurationPlugins(Plan plan, java.lang.Class<T> pluginClass)
          Find all installed plugins of a given class that are applicable to a plan.
<T extends BuildConfigurationUIPlugin>
java.lang.String
getEditHtml(BuildConfiguration buildConfiguration, Plan plan, java.lang.Class<T> pluginClass)
          Generate html page from all plugin edit fragments.
<T extends BuildConfigurationUIPlugin>
java.lang.String
getViewHtml(Plan plan, java.lang.Class<T> pluginClass)
          Generate html page from all plugin view fragments.
 

Method Detail

getBuildConfigurationPlugins

@NotNull
<T extends BuildConfigurationUIPlugin> java.lang.Iterable<T> getBuildConfigurationPlugins(@NotNull
                                                                                                  Plan plan,
                                                                                                  @NotNull
                                                                                                  java.lang.Class<T> pluginClass)
Find all installed plugins of a given class that are applicable to a plan.

Parameters:
plan - Plan to be checked with plugins
pluginClass - requested plugin class
Returns:
Iterable of filtered plugins

getViewHtml

@NotNull
<T extends BuildConfigurationUIPlugin> java.lang.String getViewHtml(@NotNull
                                                                            Plan plan,
                                                                            @NotNull
                                                                            java.lang.Class<T> pluginClass)
Generate html page from all plugin view fragments.

Parameters:
plan - Plan to be used for HTML generation
pluginClass - requested plugin class
Returns:
Aggregated HTML page for view

getEditHtml

@NotNull
<T extends BuildConfigurationUIPlugin> java.lang.String getEditHtml(@NotNull
                                                                            BuildConfiguration buildConfiguration,
                                                                            @NotNull
                                                                            Plan plan,
                                                                            @NotNull
                                                                            java.lang.Class<T> pluginClass)
Generate html page from all plugin edit fragments.

Parameters:
buildConfiguration - BuildConfiguration to be used for HTML generation
plan - Plan to be used for HTML generation
pluginClass - requested plugin class
Returns:
Aggregated HTML page for edit.


Copyright © 2010 Atlassian. All Rights Reserved.