public class BuildLabellerCustomBuildProcessor extends BaseConfigurableBuildPlugin implements CustomBuildProcessor
| Modifier and Type | Field and Description |
|---|---|
protected BuildLoggerManager |
buildLoggerManager |
buildContextmoduleDescriptor, templateRenderer| Constructor and Description |
|---|
BuildLabellerCustomBuildProcessor() |
| Modifier and Type | Method and Description |
|---|---|
@NotNull BuildContext |
call()
Execute the build task.
|
@NotNull Set<String> |
getConfigurationKeys() |
boolean |
isConfigurationMissing(@NotNull org.apache.commons.configuration.HierarchicalConfiguration configuration)
Checks if HierarchicalConfiguration objects contains plugin's configuration values.
|
void |
setBuildLoggerManager(BuildLoggerManager buildLoggerManager) |
void |
setCustomVariableContext(CustomVariableContext customVariableContext) |
@NotNull ErrorCollection |
validate(@NotNull BuildConfiguration buildConfiguration)
This method is used to validate a build configuration for a build plan
|
init, setTemplateRenderercustomizeBuildRequirements, removeBuildRequirementsaddDefaultValues, getEditHtml, getTemplateRenderer, getViewHtml, init, populateContextForEdit, populateContextForView, prepareConfigObjectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddDefaultValues, prepareConfigObjectinitgetEditHtml, getViewHtmlprotected BuildLoggerManager buildLoggerManager
@NotNull public @NotNull BuildContext call() throws Exception
BuildTaskExecute the build task.
Implementations should regularly check if the calling Thread has been interrupted.
call in interface BuildTaskcall in interface Callable<BuildContext>InterruptedException - if the calling Thread has been interrupted.Exception - A general exception that will be handled.@NotNull public @NotNull ErrorCollection validate(@NotNull @NotNull BuildConfiguration buildConfiguration)
This is used if the CustomBuildCompleteAction needs to have configuration stored against the build plan.
validate in interface BuildConfigurationAwarePluginvalidate in class BaseBuildConfigurationAwarePluginbuildConfiguration - Build configuration objectpublic boolean isConfigurationMissing(@NotNull
@NotNull org.apache.commons.configuration.HierarchicalConfiguration configuration)
BuildConfigurationAwarePluginisConfigurationMissing in interface BuildConfigurationAwarePluginconfiguration - HierarchicalConfiguration objectpublic void setCustomVariableContext(CustomVariableContext customVariableContext)
public void setBuildLoggerManager(BuildLoggerManager buildLoggerManager)
Copyright © 2024 Atlassian Software Systems Pty Ltd. All rights reserved.