com.atlassian.bamboo.build.strategy
Class AfterSuccessfulPlanTrigger

java.lang.Object
  extended by com.atlassian.bamboo.build.strategy.AbstractBuildStrategy
      extended by com.atlassian.bamboo.build.strategy.AfterSuccessfulPlanTrigger
All Implemented Interfaces:
BuildStrategy, BambooIdProvider, ConvertibleFromConfig, Serializable

Deprecated. since 5.8

@Deprecated
public class AfterSuccessfulPlanTrigger
extends AbstractBuildStrategy

See Also:
Serialized Form

Field Summary
static String CFG_BRANCH_SELECTION_MODE
          Deprecated.  
static String CFG_TRIGGERING_BRANCH_KEY
          Deprecated.  
static String CFG_TRIGGERING_PLAN_KEY
          Deprecated.  
static String KEY
          Deprecated.  
 
Constructor Summary
AfterSuccessfulPlanTrigger()
          Deprecated.  
 
Method Summary
 void addDefaultValues(BuildConfiguration buildConfiguration)
          Deprecated.  
 boolean canTrigger(Class<? extends Triggerable> type)
          Deprecated. Default implementation: trigger only works for Chains
 DeploymentTriggerBranchSelectionMode getBranchSelectionMode()
          Deprecated.  
 String getDescription()
          Deprecated.  
 String getKey()
          Deprecated. A lowercase string key to identify the build strategy
 String getName()
          Deprecated. Returns the display name of the strategy type.
 PlanKey getTriggeringBranchKey()
          Deprecated.  
 PlanKey getTriggeringPlanKey()
          Deprecated.  
 void init(Triggerable triggerable)
          Deprecated. Default to do nothing
 void populateFromConfig(org.apache.commons.configuration.HierarchicalConfiguration config)
          Deprecated. This method might be used in priority upgrade tasks so it should not use cachedPlanManager
 void setBranchSelectionMode(DeploymentTriggerBranchSelectionMode branchSelectionMode)
          Deprecated.  
 void setCachedPlanManager(CachedPlanManager cachedPlanManager)
          Deprecated.  
 void setEnvironmentTriggerService(EnvironmentTriggerService environmentTriggerService)
          Deprecated.  
 void setTextProvider(com.atlassian.struts.TextProvider textProvider)
          Deprecated.  
 void setTriggeringBranchKey(PlanKey triggeringBranchKey)
          Deprecated.  
 void setTriggeringPlanKey(PlanKey triggeringPlanKey)
          Deprecated.  
 org.apache.commons.configuration.HierarchicalConfiguration toConfiguration()
          Deprecated. Generate a HierarchicalConfiguration from the current state of the object
 ErrorCollection validate(BuildConfiguration buildConfiguration)
          Deprecated. Takes in a BuildConfiguration and returns any errors possible
 
Methods inherited from class com.atlassian.bamboo.build.strategy.AbstractBuildStrategy
getBuildStrategyManager, getId, getTextProvider, getTriggerConditionsConfiguration, getTriggerDetailsSummaryHtml, getUserDescription, setId, setUserDescription
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KEY

public static final String KEY
Deprecated. 
See Also:
Constant Field Values

CFG_BRANCH_SELECTION_MODE

public static final String CFG_BRANCH_SELECTION_MODE
Deprecated. 
See Also:
Constant Field Values

CFG_TRIGGERING_PLAN_KEY

public static final String CFG_TRIGGERING_PLAN_KEY
Deprecated. 
See Also:
Constant Field Values

CFG_TRIGGERING_BRANCH_KEY

public static final String CFG_TRIGGERING_BRANCH_KEY
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

AfterSuccessfulPlanTrigger

public AfterSuccessfulPlanTrigger()
Deprecated. 
Method Detail

getKey

public String getKey()
Deprecated. 
Description copied from interface: BuildStrategy
A lowercase string key to identify the build strategy

Returns:
String must not be null

getName

public String getName()
Deprecated. 
Description copied from interface: BuildStrategy
Returns the display name of the strategy type.

Returns:
String must not be null

getDescription

public String getDescription()
Deprecated. 
Specified by:
getDescription in interface BuildStrategy
Overrides:
getDescription in class AbstractBuildStrategy

init

public void init(@NotNull
                 Triggerable triggerable)
Deprecated. 
Description copied from class: AbstractBuildStrategy
Default to do nothing

Specified by:
init in interface BuildStrategy
Overrides:
init in class AbstractBuildStrategy

populateFromConfig

public void populateFromConfig(@NotNull
                               org.apache.commons.configuration.HierarchicalConfiguration config)
Deprecated. 
This method might be used in priority upgrade tasks so it should not use cachedPlanManager

Specified by:
populateFromConfig in interface ConvertibleFromConfig
Overrides:
populateFromConfig in class AbstractBuildStrategy

toConfiguration

@NotNull
public org.apache.commons.configuration.HierarchicalConfiguration toConfiguration()
Deprecated. 
Description copied from interface: ConvertibleFromConfig
Generate a HierarchicalConfiguration from the current state of the object

Specified by:
toConfiguration in interface ConvertibleFromConfig
Overrides:
toConfiguration in class AbstractBuildStrategy
Returns:
Always returns an HierarchicalConfiguration. Never null

addDefaultValues

public void addDefaultValues(BuildConfiguration buildConfiguration)
Deprecated. 
Specified by:
addDefaultValues in interface BuildStrategy
Overrides:
addDefaultValues in class AbstractBuildStrategy

validate

public ErrorCollection validate(BuildConfiguration buildConfiguration)
Deprecated. 
Description copied from interface: BuildStrategy
Takes in a BuildConfiguration and returns any errors possible

Specified by:
validate in interface BuildStrategy
Overrides:
validate in class AbstractBuildStrategy
Parameters:
buildConfiguration - not null
Returns:
ErrorCollection. must not be null

canTrigger

public boolean canTrigger(@NotNull
                          Class<? extends Triggerable> type)
Deprecated. 
Description copied from class: AbstractBuildStrategy
Default implementation: trigger only works for Chains

Specified by:
canTrigger in interface BuildStrategy
Overrides:
canTrigger in class AbstractBuildStrategy
Returns:
true iff build strategy is applicable to a Triggerable type

setCachedPlanManager

public void setCachedPlanManager(CachedPlanManager cachedPlanManager)
Deprecated. 

setEnvironmentTriggerService

public void setEnvironmentTriggerService(EnvironmentTriggerService environmentTriggerService)
Deprecated. 

setTextProvider

public void setTextProvider(com.atlassian.struts.TextProvider textProvider)
Deprecated. 

getBranchSelectionMode

@NotNull
public DeploymentTriggerBranchSelectionMode getBranchSelectionMode()
Deprecated. 

setBranchSelectionMode

public void setBranchSelectionMode(DeploymentTriggerBranchSelectionMode branchSelectionMode)
Deprecated. 

getTriggeringPlanKey

public PlanKey getTriggeringPlanKey()
Deprecated. 

setTriggeringPlanKey

public void setTriggeringPlanKey(PlanKey triggeringPlanKey)
Deprecated. 

getTriggeringBranchKey

public PlanKey getTriggeringBranchKey()
Deprecated. 

setTriggeringBranchKey

public void setTriggeringBranchKey(PlanKey triggeringBranchKey)
Deprecated. 


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