|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.bamboo.build.strategy.AbstractBuildStrategy
com.atlassian.bamboo.build.strategy.AfterSuccessfulPlanTrigger
@Deprecated public class AfterSuccessfulPlanTrigger
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 |
---|
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
Constructor Detail |
---|
public AfterSuccessfulPlanTrigger()
Method Detail |
---|
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 object
toConfiguration
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 possible
validate
in interface BuildStrategy
validate
in class AbstractBuildStrategy
buildConfiguration
- not null
ErrorCollection
. 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 setEnvironmentTriggerService(EnvironmentTriggerService environmentTriggerService)
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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |