com.atlassian.bamboo.v2.trigger
Class ManualBuildDetectionAction

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

public class ManualBuildDetectionAction
extends java.lang.Object
implements UserInitiatedBuildDetectionAction

Implementation of BuildDetectionAction for Manual Builds


Constructor Summary
ManualBuildDetectionAction(Plan plan, com.atlassian.user.User user, PlanExecutionConfig planExecutionConfig, java.util.Map<java.lang.String,java.lang.String> params, java.util.Map<java.lang.String,java.lang.String> variables, BuildNumberGeneratorService buildNumberGenerator, ChangeDetectionManager changeDetectionManager, TriggerManager triggerManager, ErrorUpdateHandler errorUpdateHandler, VariableDefinitionManager variableDefinitionManager, PlanVcsRevisionHistoryService planVcsRevisionHistoryService)
           
 
Method Summary
 PlanExecutionConfig getPlanExecutionConfig()
          Controls how plan execution would be resumed If null, normal plan execution would be performed (new build starting on first stage)
 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
 

Constructor Detail

ManualBuildDetectionAction

public ManualBuildDetectionAction(Plan plan,
                                  com.atlassian.user.User user,
                                  PlanExecutionConfig planExecutionConfig,
                                  java.util.Map<java.lang.String,java.lang.String> params,
                                  java.util.Map<java.lang.String,java.lang.String> variables,
                                  BuildNumberGeneratorService buildNumberGenerator,
                                  ChangeDetectionManager changeDetectionManager,
                                  TriggerManager triggerManager,
                                  ErrorUpdateHandler errorUpdateHandler,
                                  VariableDefinitionManager variableDefinitionManager,
                                  PlanVcsRevisionHistoryService planVcsRevisionHistoryService)
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

getPlanExecutionConfig

public PlanExecutionConfig getPlanExecutionConfig()
Description copied from interface: UserInitiatedBuildDetectionAction
Controls how plan execution would be resumed If null, normal plan execution would be performed (new build starting on first stage)

Specified by:
getPlanExecutionConfig in interface UserInitiatedBuildDetectionAction
Returns:
planExecutionConfig


Copyright © 2011 Atlassian. All Rights Reserved.