com.atlassian.bamboo.v2.trigger
Class ScheduledBuildDetectionAction

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

public class ScheduledBuildDetectionAction
extends java.lang.Object
implements TriggerConditionsAwareBuildDetectionAction, UnconditionalBuildDetectionAction


Constructor Summary
ScheduledBuildDetectionAction(ChangeDetectionManager changeDetectionManager, TriggerManager triggerManager, BuildNumberGeneratorService buildNumberGenerator, BuildLoggerManager buildLoggerManager, ImmutableChain chain, java.util.Map<java.lang.String,java.lang.String> triggerConditionsConfiguration)
           
 
Method Summary
 BuildDetectionResult generateResultWithoutChanges()
          Creates a result with a new number without doing change detection
 java.util.Map<java.lang.String,java.lang.String> getTriggerConditionsConfiguration()
           
 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

ScheduledBuildDetectionAction

public ScheduledBuildDetectionAction(@NotNull
                                     ChangeDetectionManager changeDetectionManager,
                                     @NotNull
                                     TriggerManager triggerManager,
                                     @NotNull
                                     BuildNumberGeneratorService buildNumberGenerator,
                                     @NotNull
                                     BuildLoggerManager buildLoggerManager,
                                     @NotNull
                                     ImmutableChain chain,
                                     @NotNull
                                     java.util.Map<java.lang.String,java.lang.String> triggerConditionsConfiguration)
Method Detail

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

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:

getTriggerConditionsConfiguration

public java.util.Map<java.lang.String,java.lang.String> getTriggerConditionsConfiguration()
Specified by:
getTriggerConditionsConfiguration in interface TriggerConditionsAwareBuildDetectionAction


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