com.atlassian.bamboo.plugin.web
Class PlanConfigurationPluginUIHelperImpl
java.lang.Object
com.atlassian.bamboo.plugin.web.PlanConfigurationPluginUIHelperImpl
- All Implemented Interfaces:
- PlanConfigurationUIPluginHelper
public class PlanConfigurationPluginUIHelperImpl
- extends java.lang.Object
- implements PlanConfigurationUIPluginHelper
Method Summary |
|
getBuildConfigurationPlugins(Plan plan,
java.lang.Class<T> pluginClass)
Find all installed plugins of a given class that are applicable to a plan. |
|
getEditHtml(BuildConfiguration buildConfiguration,
Plan plan,
java.lang.Class<T> pluginClass)
Generate html page from all plugin edit fragments. |
|
getViewHtml(Plan plan,
java.lang.Class<T> pluginClass)
Generate html page from all plugin view fragments. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlanConfigurationPluginUIHelperImpl
public PlanConfigurationPluginUIHelperImpl(com.atlassian.plugin.PluginAccessor pluginAccessor)
getBuildConfigurationPlugins
@NotNull
public <T extends BuildConfigurationUIPlugin> java.lang.Iterable<T> getBuildConfigurationPlugins(@NotNull
Plan plan,
@NotNull
java.lang.Class<T> pluginClass)
- Description copied from interface:
PlanConfigurationUIPluginHelper
- Find all installed plugins of a given class that are applicable to a plan.
- Specified by:
getBuildConfigurationPlugins
in interface PlanConfigurationUIPluginHelper
- Parameters:
plan
- Plan to be checked with pluginspluginClass
- requested plugin class
- Returns:
- Iterable of filtered plugins
getViewHtml
@NotNull
public <T extends BuildConfigurationUIPlugin> java.lang.String getViewHtml(@NotNull
Plan plan,
@NotNull
java.lang.Class<T> pluginClass)
- Description copied from interface:
PlanConfigurationUIPluginHelper
- Generate html page from all plugin view fragments.
- Specified by:
getViewHtml
in interface PlanConfigurationUIPluginHelper
- Parameters:
plan
- Plan to be used for HTML generationpluginClass
- requested plugin class
- Returns:
- Aggregated HTML page for view
getEditHtml
@NotNull
public <T extends BuildConfigurationUIPlugin> java.lang.String getEditHtml(@NotNull
BuildConfiguration buildConfiguration,
@NotNull
Plan plan,
@NotNull
java.lang.Class<T> pluginClass)
- Description copied from interface:
PlanConfigurationUIPluginHelper
- Generate html page from all plugin edit fragments.
- Specified by:
getEditHtml
in interface PlanConfigurationUIPluginHelper
- Parameters:
buildConfiguration
- BuildConfiguration to be used for HTML generationplan
- Plan to be used for HTML generationpluginClass
- requested plugin class
- Returns:
- Aggregated HTML page for edit.
Copyright © 2010 Atlassian. All Rights Reserved.