com.atlassian.bamboo.v2.trigger
Class ChildDependencyBuildDetectionAction

java.lang.Object
  extended by com.atlassian.bamboo.v2.trigger.ChildDependencyBuildDetectionAction
All Implemented Interfaces:
BuildDetectionAction, UnconditionalBuildDetectionAction

public class ChildDependencyBuildDetectionAction
extends java.lang.Object
implements UnconditionalBuildDetectionAction


Constructor Summary
ChildDependencyBuildDetectionAction(ImmutablePlan plan, PlanIdentifier child, BuildNumberGeneratorService buildNumberGenerator, TriggerManager triggerManager, BuildChanges buildChanges, ErrorUpdateHandler errorUpdateHandler, ImmutablePlanCacheService immutablePlanCacheService)
           
 
Method Summary
 BuildDetectionResult generateResultWithoutChanges()
          Creates a result with a new number without doing change detection
 BuildChanges performDelayedChangeDetection(BuildContext buildContext)
          Performs a change detection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChildDependencyBuildDetectionAction

public ChildDependencyBuildDetectionAction(ImmutablePlan plan,
                                           PlanIdentifier child,
                                           BuildNumberGeneratorService buildNumberGenerator,
                                           TriggerManager triggerManager,
                                           BuildChanges buildChanges,
                                           ErrorUpdateHandler errorUpdateHandler,
                                           ImmutablePlanCacheService immutablePlanCacheService)
Method Detail

generateResultWithoutChanges

@NotNull
public BuildDetectionResult generateResultWithoutChanges()
Description copied from interface: UnconditionalBuildDetectionAction
Creates a result with a new number without doing change detection

Specified by:
generateResultWithoutChanges in interface UnconditionalBuildDetectionAction
Returns:

performDelayedChangeDetection

@Nullable
public BuildChanges performDelayedChangeDetection(BuildContext buildContext)
                                           throws RepositoryException
Description copied from interface: UnconditionalBuildDetectionAction
Performs a change detection

Specified by:
performDelayedChangeDetection in interface UnconditionalBuildDetectionAction
Returns:
Null if and error has occurred.
Throws:
RepositoryException


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