com.atlassian.bamboo.v2.trigger
Class AbstractDependentDetectionAction

java.lang.Object
  extended by com.atlassian.bamboo.v2.trigger.AbstractDependentDetectionAction
All Implemented Interfaces:
BuildDetectionAction
Direct Known Subclasses:
DependentBuildDetectionAction

public class AbstractDependentDetectionAction
extends java.lang.Object
implements BuildDetectionAction


Field Summary
protected  BuildLoggerManager buildLoggerManager
           
protected  BuildNumberGeneratorService buildNumberGeneratorService
           
protected  ChangeDetectionManager changeDetectionManager
           
protected  BuildContext completedBuildContext
           
protected  java.lang.String completedBuildResultKey
           
protected  ErrorUpdateHandler errorUpdateHandler
           
static java.lang.String PARENT_BUILD_KEY
           
protected  Plan parentPlan
           
protected  Plan plan
           
protected  java.lang.String planKey
           
protected  TriggerReasonManager triggerReasonManager
           
 
Constructor Summary
AbstractDependentDetectionAction(Plan plan, Plan parentPlan, BuildContext completedBuildContext, ErrorUpdateHandler errorUpdateHandler, TriggerReasonManager triggerReasonManager, ChangeDetectionManager changeDetectionManager, BuildNumberGeneratorService buildNumberGeneratorService, BuildLoggerManager buildLoggerManager)
           
 
Method Summary
protected  void addDependencyInformation(java.util.Map<java.lang.String,java.lang.String> customBuildData, java.util.Map<java.lang.String,java.lang.String> oldCustomData)
           
protected  BuildContext prepareBuildContext(ErrorCollection errorCollection)
           
 BuildDetectionResult process()
          The action to be taken by build triggering (change detection) components.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

planKey

protected java.lang.String planKey

plan

protected Plan plan

parentPlan

protected final Plan parentPlan

completedBuildContext

protected final BuildContext completedBuildContext

buildLoggerManager

protected final BuildLoggerManager buildLoggerManager

completedBuildResultKey

protected final java.lang.String completedBuildResultKey

errorUpdateHandler

protected final ErrorUpdateHandler errorUpdateHandler

triggerReasonManager

protected final TriggerReasonManager triggerReasonManager

changeDetectionManager

protected final ChangeDetectionManager changeDetectionManager

buildNumberGeneratorService

protected final BuildNumberGeneratorService buildNumberGeneratorService

PARENT_BUILD_KEY

public static final java.lang.String PARENT_BUILD_KEY
See Also:
Constant Field Values
Constructor Detail

AbstractDependentDetectionAction

public AbstractDependentDetectionAction(Plan plan,
                                        Plan parentPlan,
                                        BuildContext completedBuildContext,
                                        ErrorUpdateHandler errorUpdateHandler,
                                        TriggerReasonManager triggerReasonManager,
                                        ChangeDetectionManager changeDetectionManager,
                                        BuildNumberGeneratorService buildNumberGeneratorService,
                                        BuildLoggerManager buildLoggerManager)
Method Detail

process

@NotNull
public BuildDetectionResult process()
Description copied from interface: BuildDetectionAction
The action to be taken by build triggering (change detection) components.

Specified by:
process in interface BuildDetectionAction
Returns:
buildDetectionResult

prepareBuildContext

@Nullable
protected BuildContext prepareBuildContext(@NotNull
                                                    ErrorCollection errorCollection)

addDependencyInformation

protected void addDependencyInformation(java.util.Map<java.lang.String,java.lang.String> customBuildData,
                                        java.util.Map<java.lang.String,java.lang.String> oldCustomData)


Copyright © 2011 Atlassian. All Rights Reserved.