public class BuildLogLabellerPreBuildAction extends Object implements CustomPreBuildAction
Modifier and Type | Field and Description |
---|---|
protected BuildLoggerManager |
buildLoggerManager |
Constructor and Description |
---|
BuildLogLabellerPreBuildAction() |
Modifier and Type | Method and Description |
---|---|
@NotNull BuildContext |
call()
Execute the build task.
|
void |
init(@NotNull BuildContext buildContext) |
void |
setBuildLoggerManager(BuildLoggerManager buildLoggerManager) |
void |
setCustomVariableContext(CustomVariableContext customVariableContext) |
@Nullable ErrorCollection |
validate(BuildConfiguration config)
Validate the build configuration when trying to save configuration for the
Plan
This is used if the CustomPreBuildAction needs to have configuration stored
against the build plan. |
protected BuildLoggerManager buildLoggerManager
@Nullable public @Nullable ErrorCollection validate(BuildConfiguration config)
CustomPreBuildAction
Plan
This is used if the CustomPreBuildAction needs to have configuration stored
against the build plan.validate
in interface CustomPreBuildAction
public void init(@NotNull @NotNull BuildContext buildContext)
@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.public void setCustomVariableContext(CustomVariableContext customVariableContext)
public void setBuildLoggerManager(BuildLoggerManager buildLoggerManager)
Copyright © 2024 Atlassian Software Systems Pty Ltd. All rights reserved.