com.atlassian.bamboo.v2.build.task
Class InitializeBuild

java.lang.Object
  extended by com.atlassian.bamboo.v2.build.task.InitializeBuild
All Implemented Interfaces:
BuildPhase, InterruptibleBuildPhase

public class InitializeBuild
extends java.lang.Object
implements BuildPhase, InterruptibleBuildPhase

A task that initializes the build to the latest version to be run


Constructor Summary
InitializeBuild()
          Cannot use constructor injection due to how we create this component in DefaultBuildAgent
 
Method Summary
 CommonContext call(CommonContext commonContext, ReadOnlyCapabilitySet capabilitySet)
          Execute the build task.
 void setBuildDirectoryManager(BuildDirectoryManager buildDirectoryManager)
           
 void setBuildLoggerManager(BuildLoggerManager buildLoggerManager)
           
 void setExecutionPhaseService(ExecutionPhaseService executionPhaseService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InitializeBuild

public InitializeBuild()
Cannot use constructor injection due to how we create this component in DefaultBuildAgent

Method Detail

call

@NotNull
public CommonContext call(@NotNull
                                  CommonContext commonContext,
                                  @NotNull
                                  ReadOnlyCapabilitySet capabilitySet)
                   throws RepositoryException,
                          RepositoryDefinitionException
Description copied from interface: BuildPhase

Execute the build task.

Implementations should regularly check if the calling Thread has been interrupted.

Specified by:
call in interface BuildPhase
Returns:
Throws:
RepositoryException
RepositoryDefinitionException

setBuildDirectoryManager

public void setBuildDirectoryManager(BuildDirectoryManager buildDirectoryManager)

setBuildLoggerManager

public void setBuildLoggerManager(BuildLoggerManager buildLoggerManager)

setExecutionPhaseService

public void setExecutionPhaseService(ExecutionPhaseService executionPhaseService)


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