com.atlassian.bamboo.v2.trigger
Class ManualBuildDetectionAction
java.lang.Object
com.atlassian.bamboo.v2.trigger.ManualBuildDetectionAction
- All Implemented Interfaces:
- BuildDetectionAction, DelayedChangeDetectionAction, UnconditionalBuildDetectionAction, UserInitiatedBuildDetectionAction
public class ManualBuildDetectionAction
- extends java.lang.Object
- implements UserInitiatedBuildDetectionAction, DelayedChangeDetectionAction
Implementation of BuildDetectionAction
for Manual Builds
Constructor Summary |
ManualBuildDetectionAction(ImmutableChain chain,
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CUSTOM_REVISION_PARAMETER
public static final java.lang.String CUSTOM_REVISION_PARAMETER
- See Also:
- Constant Field Values
ManualBuildDetectionAction
public ManualBuildDetectionAction(ImmutableChain chain,
com.atlassian.user.User user,
@Nullable
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)
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
getPlanExecutionConfig
@Nullable
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 © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.