public interface PlanConfigurationUIPluginHelper
| Modifier and Type | Method and Description |
|---|---|
<T extends BuildConfigurationAwarePlugin> |
getBuildConfigurationPlugins(@NotNull Plan plan,
@NotNull Class<T> pluginClass)
Find all installed plugins of a given class.
|
<T extends BuildConfigurationAwarePlugin> |
getBuildConfigurationPlugins(@NotNull Plan plan,
@NotNull Class<T> pluginClass,
Class<? extends com.atlassian.plugin.ModuleDescriptor<?>>... moduleDescriptorsClasses)
Find all installed plugins of a given class and module descriptor.
|
<T extends BuildConfigurationAwarePlugin> |
getEditHtml(@NotNull BuildConfiguration buildConfiguration,
@NotNull Plan plan,
@NotNull Class<T> pluginClass)
Generate html page from all plugin edit fragments.
|
<T extends BuildConfigurationAwarePlugin> |
getEditHtmlList(@NotNull BuildConfiguration buildConfiguration,
@NotNull Plan plan,
@NotNull Class<T> pluginClass,
Class<? extends com.atlassian.plugin.ModuleDescriptor<?>>... moduleDescriptorsClasses)
Generate list of html edit fragments for all plugins.
|
List<Class> |
getModuleTypesOnJobPage() |
<T extends BuildConfigurationAwarePlugin> |
getViewHtml(@NotNull Plan plan,
@NotNull Class<T> pluginClass)
Generate html page from all plugin view fragments.
|
<T extends BuildConfigurationAwarePlugin> |
getViewHtmlList(@NotNull Plan plan,
@NotNull Class<T> pluginClass,
Class<? extends com.atlassian.plugin.ModuleDescriptor<?>>... moduleDescriptorsClasses)
Generate list of html view fragments for all plugins.
|
boolean |
isPluginApplicableTo(@NotNull BuildConfigurationAwarePlugin module,
@NotNull ImmutablePlan immutablePlan)
Return true if a plugin module should be displayed on given plan''s "Other" page.
|
@NotNull <T extends BuildConfigurationAwarePlugin> @NotNull Iterable<T> getBuildConfigurationPlugins(@NotNull @NotNull Plan plan, @NotNull @NotNull Class<T> pluginClass)
PlanConfigurationUiPlugin, plugins will be checked for applicability to the plan.plan - Plan to be checked with pluginspluginClass - requested plugin class@NotNull <T extends BuildConfigurationAwarePlugin> @NotNull Iterable<T> getBuildConfigurationPlugins(@NotNull @NotNull Plan plan, @NotNull @NotNull Class<T> pluginClass, @NotNull Class<? extends com.atlassian.plugin.ModuleDescriptor<?>>... moduleDescriptorsClasses)
PlanConfigurationUiPlugin, plugins will be checked for applicability to the plan.plan - Plan to be checked with pluginspluginClass - requested plugin classmoduleDescriptorsClasses - plugin descriptors@NotNull <T extends BuildConfigurationAwarePlugin> @NotNull String getViewHtml(@NotNull @NotNull Plan plan, @NotNull @NotNull Class<T> pluginClass)
plan - Plan to be used for HTML generationpluginClass - requested plugin class@NotNull <T extends BuildConfigurationAwarePlugin> @NotNull String getEditHtml(@NotNull @NotNull BuildConfiguration buildConfiguration, @NotNull @NotNull Plan plan, @NotNull @NotNull Class<T> pluginClass)
buildConfiguration - BuildConfiguration to be used for HTML generationplan - Plan to be used for HTML generationpluginClass - requested plugin class@NotNull <T extends BuildConfigurationAwarePlugin> @NotNull List<String> getViewHtmlList(@NotNull @NotNull Plan plan, @NotNull @NotNull Class<T> pluginClass, @NotNull Class<? extends com.atlassian.plugin.ModuleDescriptor<?>>... moduleDescriptorsClasses)
plan - Plan to be used for HTML generationpluginClass - requested plugin classmoduleDescriptorsClasses - plugin descriptors@NotNull <T extends BuildConfigurationAwarePlugin> @NotNull List<String> getEditHtmlList(@NotNull @NotNull BuildConfiguration buildConfiguration, @NotNull @NotNull Plan plan, @NotNull @NotNull Class<T> pluginClass, @NotNull Class<? extends com.atlassian.plugin.ModuleDescriptor<?>>... moduleDescriptorsClasses)
buildConfiguration - BuildConfiguration to be used for HTML generationplan - Plan to be used for HTML generationpluginClass - requested plugin classmoduleDescriptorsClasses - plugin descriptorsboolean isPluginApplicableTo(@NotNull
@NotNull BuildConfigurationAwarePlugin module,
@NotNull
@NotNull ImmutablePlan immutablePlan)
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.