Class BuildLogLabellerPreBuildAction
java.lang.Object
com.atlassian.bamboo.plugins.labeller.BuildLogLabellerPreBuildAction
- All Implemented Interfaces:
CustomPreBuildAction,BambooPluginModule,AgentBuildTask,BuildTask,Callable<BuildContext>
Agent side pre build action which adds build log interceptor.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull BuildContextcall()Execute the build task.voidinit(@NotNull BuildContext buildContext) voidsetBuildLoggerManager(BuildLoggerManager buildLoggerManager) voidsetCustomVariableContext(CustomVariableContext customVariableContext) @Nullable ErrorCollectionvalidate(BuildConfiguration config) Validate the build configuration when trying to save configuration for thePlanThis is used if the CustomPreBuildAction needs to have configuration stored against the build plan.
-
Field Details
-
buildLoggerManager
-
-
Constructor Details
-
BuildLogLabellerPreBuildAction
public BuildLogLabellerPreBuildAction()
-
-
Method Details
-
validate
Description copied from interface:CustomPreBuildActionValidate the build configuration when trying to save configuration for thePlanThis is used if the CustomPreBuildAction needs to have configuration stored against the build plan.- Specified by:
validatein interfaceCustomPreBuildAction- Parameters:
config-- Returns:
-
init
-
call
Description copied from interface:BuildTaskExecute the build task.
Implementations should regularly check if the calling
Threadhas been interrupted. -
setCustomVariableContext
-
setBuildLoggerManager
-