@Deprecated public abstract class AbstractBuildStrategy extends Object implements BuildStrategy
Constructor and Description |
---|
AbstractBuildStrategy()
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
|
protected BuildStrategyManager |
getBuildStrategyManager()
Deprecated.
|
String |
getDescription()
Deprecated.
|
long |
getId()
Deprecated.
|
protected com.opensymphony.xwork2.TextProvider |
getTextProvider()
Deprecated.
|
Map<String,String> |
getTriggerConditionsConfiguration()
Deprecated.
|
String |
getTriggerDetailsSummaryHtml(Triggerable triggerable,
com.atlassian.core.i18n.I18nTextProvider i18nTextProvider)
Deprecated.
|
String |
getUserDescription()
Deprecated.
Name under which this instance of build strategy appears on Plan's list of triggers.
|
void |
init(Triggerable build)
Deprecated.
Default to do nothing
|
void |
populateFromConfig(org.apache.commons.configuration.HierarchicalConfiguration config)
Deprecated.
Update the current object with data in the
HierarchicalConfiguration |
void |
setId(long id)
Deprecated.
|
void |
setUserDescription(String userDescription)
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 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getKey, getName
public void init(@NotNull Triggerable build)
init
in interface BuildStrategy
public void addDefaultValues(BuildConfiguration buildConfiguration)
addDefaultValues
in interface BuildStrategy
public String getDescription()
getDescription
in interface BuildStrategy
@NotNull public org.apache.commons.configuration.HierarchicalConfiguration toConfiguration()
ConvertibleFromConfig
HierarchicalConfiguration
from the current state of the objecttoConfiguration
in interface ConvertibleFromConfig
HierarchicalConfiguration
. Never nullpublic void populateFromConfig(@NotNull org.apache.commons.configuration.HierarchicalConfiguration config)
ConvertibleFromConfig
HierarchicalConfiguration
populateFromConfig
in interface ConvertibleFromConfig
public ErrorCollection validate(BuildConfiguration buildConfiguration)
BuildStrategy
BuildConfiguration
and returns any errors possiblevalidate
in interface BuildStrategy
buildConfiguration
- not nullErrorCollection
. must not be nullprotected BuildStrategyManager getBuildStrategyManager()
protected com.opensymphony.xwork2.TextProvider getTextProvider()
@NotNull public String getUserDescription()
BuildStrategy
getUserDescription
in interface BuildStrategy
public void setUserDescription(@NotNull String userDescription)
setUserDescription
in interface BuildStrategy
public long getId()
getId
in interface BambooIdProvider
public void setId(long id)
setId
in interface BuildStrategy
public Map<String,String> getTriggerConditionsConfiguration()
getTriggerConditionsConfiguration
in interface BuildStrategy
public boolean canTrigger(@NotNull Class<? extends Triggerable> type)
canTrigger
in interface BuildStrategy
@NotNull public String getTriggerDetailsSummaryHtml(@NotNull Triggerable triggerable, @NotNull com.atlassian.core.i18n.I18nTextProvider i18nTextProvider)
getTriggerDetailsSummaryHtml
in interface BuildStrategy
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.