com.atlassian.bamboo.build
Interface CustomPreBuildAction

All Superinterfaces:
AgentBuildTask, BambooPluginModule, BuildTask, java.util.concurrent.Callable<BuildContext>
All Known Implementing Classes:
BuildNumberStamper, CloverGrailsPreBuildAction, VCSVersionReader

public interface CustomPreBuildAction
extends AgentBuildTask, BambooPluginModule

A custom pre build task that occurs on the ExecutableBuildAgent. It occurs after the build has been updated to the specified time, but before the actual build execution. Any exeptions thrown or errors added to tge BuildContext will cause the build to fail.


Method Summary
 ErrorCollection validate(BuildConfiguration config)
          Validate the build configuration when trying to save configuration for the Build This is used if the CustomPreBuildAction needs to have configuration stored against the build plan.
 
Methods inherited from interface com.atlassian.bamboo.v2.build.task.BuildTask
call, init
 

Method Detail

validate

@Nullable
ErrorCollection validate(BuildConfiguration config)
Validate the build configuration when trying to save configuration for the Build This is used if the CustomPreBuildAction needs to have configuration stored against the build plan.

Parameters:
config -
Returns:


Copyright © 2010 Atlassian. All Rights Reserved.