@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, setUserDescription
public 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()
BuildStrategy
public String getName()
BuildStrategy
public String getDescription()
getDescription
in interface BuildStrategy
getDescription
in class AbstractBuildStrategy
public void init(@NotNull Triggerable triggerable)
AbstractBuildStrategy
init
in interface BuildStrategy
init
in class AbstractBuildStrategy
public void populateFromConfig(@NotNull org.apache.commons.configuration.HierarchicalConfiguration config)
populateFromConfig
in interface ConvertibleFromConfig
populateFromConfig
in class AbstractBuildStrategy
@NotNull public org.apache.commons.configuration.HierarchicalConfiguration toConfiguration()
ConvertibleFromConfig
HierarchicalConfiguration
from the current state of the objecttoConfiguration
in interface ConvertibleFromConfig
toConfiguration
in class AbstractBuildStrategy
HierarchicalConfiguration
. Never nullpublic void addDefaultValues(BuildConfiguration buildConfiguration)
addDefaultValues
in interface BuildStrategy
addDefaultValues
in class AbstractBuildStrategy
public ErrorCollection validate(BuildConfiguration buildConfiguration)
BuildStrategy
BuildConfiguration
and returns any errors possiblevalidate
in interface BuildStrategy
validate
in class AbstractBuildStrategy
buildConfiguration
- not nullErrorCollection
. must not be nullpublic boolean canTrigger(@NotNull Class<? extends Triggerable> type)
AbstractBuildStrategy
canTrigger
in interface BuildStrategy
canTrigger
in class AbstractBuildStrategy
public 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 © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.