@Deprecated public interface BuildStrategy extends ConvertibleFromConfig, Serializable, BambooIdProvider
Modifier and Type | Method and Description |
---|---|
void |
addDefaultValues(BuildConfiguration buildConfiguration)
Deprecated.
|
boolean |
canTrigger(Class<? extends Triggerable> triggerable)
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.
|
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 triggerable)
Deprecated.
Called whenever Bamboo starts up
|
void |
setId(long id)
Deprecated.
|
void |
setUserDescription(String userDescription)
Deprecated.
|
ErrorCollection |
validate(BuildConfiguration buildConfiguration)
Deprecated.
Takes in a
BuildConfiguration and returns any errors possible |
populateFromConfig, toConfiguration
getId
void init(@NotNull Triggerable triggerable)
triggerable
- ErrorCollection validate(BuildConfiguration buildConfiguration)
BuildConfiguration
and returns any errors possiblebuildConfiguration
- not nullErrorCollection
. must not be nullString getKey()
String getName()
String getDescription()
void addDefaultValues(BuildConfiguration buildConfiguration)
@NotNull String getUserDescription()
void setUserDescription(@NotNull String userDescription)
userDescription
- void setId(long id)
id
- Map<String,String> getTriggerConditionsConfiguration()
boolean canTrigger(@NotNull Class<? extends Triggerable> triggerable)
@NotNull String getTriggerDetailsSummaryHtml(@NotNull Triggerable triggerable, @NotNull com.atlassian.core.i18n.I18nTextProvider i18nTextProvider)
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.