@Deprecated public class AfterSuccessfulPlanTrigger extends AbstractBuildStrategy
| Modifier and Type | Field and Description |
|---|---|
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 and Description |
|---|
AfterSuccessfulPlanTrigger()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
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 |
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 |
getBuildStrategyManager, getId, getTextProvider, getTriggerConditionsConfiguration, getTriggerDetailsSummaryHtml, getUserDescription, setId, setUserDescriptionpublic static final String KEY
public static final String CFG_BRANCH_SELECTION_MODE
public static final String CFG_TRIGGERING_PLAN_KEY
public static final String CFG_TRIGGERING_BRANCH_KEY
public String getKey()
BuildStrategypublic String getName()
BuildStrategypublic String getDescription()
getDescription in interface BuildStrategygetDescription in class AbstractBuildStrategypublic void init(@NotNull
Triggerable triggerable)
AbstractBuildStrategyinit in interface BuildStrategyinit in class AbstractBuildStrategypublic void populateFromConfig(@NotNull
org.apache.commons.configuration.HierarchicalConfiguration config)
populateFromConfig in interface ConvertibleFromConfigpopulateFromConfig in class AbstractBuildStrategy@NotNull public org.apache.commons.configuration.HierarchicalConfiguration toConfiguration()
ConvertibleFromConfigHierarchicalConfiguration from the current state of the objecttoConfiguration in interface ConvertibleFromConfigtoConfiguration in class AbstractBuildStrategyHierarchicalConfiguration. Never nullpublic void addDefaultValues(BuildConfiguration buildConfiguration)
addDefaultValues in interface BuildStrategyaddDefaultValues in class AbstractBuildStrategypublic ErrorCollection validate(BuildConfiguration buildConfiguration)
BuildStrategyBuildConfiguration and returns any errors possiblevalidate in interface BuildStrategyvalidate in class AbstractBuildStrategybuildConfiguration - not nullErrorCollection. must not be nullpublic boolean canTrigger(@NotNull
Class<? extends Triggerable> type)
AbstractBuildStrategycanTrigger in interface BuildStrategycanTrigger in class AbstractBuildStrategypublic void setCachedPlanManager(CachedPlanManager cachedPlanManager)
public void setTextProvider(com.atlassian.struts.TextProvider textProvider)
@NotNull public DeploymentTriggerBranchSelectionMode getBranchSelectionMode()
public void setBranchSelectionMode(DeploymentTriggerBranchSelectionMode branchSelectionMode)
public PlanKey getTriggeringPlanKey()
public void setTriggeringPlanKey(PlanKey triggeringPlanKey)
public PlanKey getTriggeringBranchKey()
public void setTriggeringBranchKey(PlanKey triggeringBranchKey)
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.