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 Object
implements TriggerConditionsAwareBuildDetectionAction, UnconditionalBuildDetectionAction


Constructor Summary
ScheduledBuildDetectionAction(ChangeDetectionManager changeDetectionManager, TriggerManager triggerManager, BuildNumberGeneratorService buildNumberGenerator, BuildLoggerManager buildLoggerManager, ImmutableChain chain, Map<String,String> triggerConditionsConfiguration, BuildContextBuilderFactory buildContextBuilderFactory)
           
 
Method Summary
 BuildDetectionResult generateResultWithoutChanges()
          Creates a result with a new number without doing change detection
 Map<String,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
                                     Map<String,String> triggerConditionsConfiguration,
                                     @NotNull
                                     BuildContextBuilderFactory buildContextBuilderFactory)
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 Map<String,String> getTriggerConditionsConfiguration()
Specified by:
getTriggerConditionsConfiguration in interface TriggerConditionsAwareBuildDetectionAction


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.