com.atlassian.bamboo.build
Interface CustomPreBuildAction

All Superinterfaces:
AgentBuildTask, BambooPluginModule, BuildTask, java.util.concurrent.Callable<BuildContext>
All Known Implementing Classes:
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 exceptions thrown or errors added to the BuildContext will cause the build to fail.


Method Summary
 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.
 
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 Plan This is used if the CustomPreBuildAction needs to have configuration stored against the build plan.

Parameters:
config -
Returns:


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.