public class BuildLabellerCustomBuildProcessor extends BaseConfigurableBuildPlugin implements CustomBuildProcessor
Modifier and Type | Field and Description |
---|---|
protected BuildLoggerManager |
buildLoggerManager |
buildContext
moduleDescriptor, 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, setTemplateRenderer
customizeBuildRequirements, removeBuildRequirements
addDefaultValues, getEditHtml, getTemplateRenderer, getViewHtml, init, populateContextForEdit, populateContextForView, prepareConfigObject
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addDefaultValues, prepareConfigObject
init
getEditHtml, getViewHtml
protected BuildLoggerManager buildLoggerManager
@NotNull public @NotNull BuildContext call() throws Exception
BuildTask
Execute the build task.
Implementations should regularly check if the calling Thread
has been interrupted.
call
in interface BuildTask
call
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 BuildConfigurationAwarePlugin
validate
in class BaseBuildConfigurationAwarePlugin
buildConfiguration
- Build configuration objectpublic boolean isConfigurationMissing(@NotNull @NotNull org.apache.commons.configuration.HierarchicalConfiguration configuration)
BuildConfigurationAwarePlugin
isConfigurationMissing
in interface BuildConfigurationAwarePlugin
configuration
- HierarchicalConfiguration objectpublic void setCustomVariableContext(CustomVariableContext customVariableContext)
public void setBuildLoggerManager(BuildLoggerManager buildLoggerManager)
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.