com.atlassian.bamboo.build
Interface BuildDetectionActionFactory

All Known Implementing Classes:
BuildDetectionActionFactoryImpl

public interface BuildDetectionActionFactory

Factory for creating common BuildDetectionAction's


Method Summary
 BuildDetectionAction createDependentBuildDetectionAction(Plan plan, Plan parent, BuildContext completedBuildContext)
          Creates a new instance of BuildDetectionAction that is used to trigger dependent builds
 BuildDetectionAction createInitialBuildDetectionAction(Plan build)
          Creates a new instance of BuildDetectionAction that is used to execute the initial build for a Build
 BuildDetectionAction createManualBuildDetectionAction(Plan plan, com.atlassian.user.User user, java.util.Map<java.lang.String,java.lang.String> params)
          Creates a new instance of BuildDetectionAction that can be used to start the manual execution of Plan
 BuildDetectionAction createScheduledBuildDetectionAction(Plan plan)
          Creates a new instance of BuildDetectionAction that can be used to start the scheduled execution of Plan
 

Method Detail

createManualBuildDetectionAction

@NotNull
BuildDetectionAction createManualBuildDetectionAction(@NotNull
                                                              Plan plan,
                                                              @NotNull
                                                              com.atlassian.user.User user,
                                                              @NotNull
                                                              java.util.Map<java.lang.String,java.lang.String> params)
Creates a new instance of BuildDetectionAction that can be used to start the manual execution of Plan

Parameters:
plan -
user -
params -
Returns:
buildDetectionAction

createScheduledBuildDetectionAction

@NotNull
BuildDetectionAction createScheduledBuildDetectionAction(@NotNull
                                                                 Plan plan)
Creates a new instance of BuildDetectionAction that can be used to start the scheduled execution of Plan

Parameters:
plan -
Returns:
buildDetectionAction

createInitialBuildDetectionAction

@NotNull
BuildDetectionAction createInitialBuildDetectionAction(@NotNull
                                                               Plan build)
Creates a new instance of BuildDetectionAction that is used to execute the initial build for a Build

Parameters:
build -
Returns:
buildDetectionAction

createDependentBuildDetectionAction

@NotNull
BuildDetectionAction createDependentBuildDetectionAction(@NotNull
                                                                 Plan plan,
                                                                 @NotNull
                                                                 Plan parent,
                                                                 @NotNull
                                                                 BuildContext completedBuildContext)
Creates a new instance of BuildDetectionAction that is used to trigger dependent builds

Parameters:
plan -
parent -
completedBuildContext -
Returns:
buildDetectionAction


Copyright © 2011 Atlassian. All Rights Reserved.