@Deprecated public class TriggeredBuildStrategy extends AbstractBuildStrategy implements RepositoryAwareBuildStrategy
Modifier and Type | Field and Description |
---|---|
static String |
NAME
Deprecated.
|
static String |
TRIGGER_IP_ADDRESS
Deprecated.
|
Constructor and Description |
---|
TriggeredBuildStrategy()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String[] |
getAllowedTriggerIpAddresses()
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.
|
Set<Long> |
getTriggeringRepositories()
Deprecated.
Return a list of repository ids this trigger is configured for.
|
String |
getTriggerIpAddress()
Deprecated.
|
void |
init(Triggerable triggerable)
Deprecated.
Default to do nothing
|
void |
populateFromConfig(org.apache.commons.configuration.HierarchicalConfiguration config)
Deprecated.
Update the current object with data in the
HierarchicalConfiguration |
void |
setEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher)
Deprecated.
|
void |
setTriggeringRepositories(Set<Long> triggeringRepositories)
Deprecated.
Set list of repository ids this trigger is configured for.
|
void |
setTriggerIpAddresses(String triggerIpAddresses)
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 |
addDefaultValues, canTrigger, getBuildStrategyManager, getId, getTextProvider, getTriggerConditionsConfiguration, getTriggerDetailsSummaryHtml, getUserDescription, setId, setUserDescription
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addDefaultValues, canTrigger, getTriggerConditionsConfiguration, getTriggerDetailsSummaryHtml, getUserDescription, setId, setUserDescription
getId
public static final String TRIGGER_IP_ADDRESS
public static final String NAME
public void init(@NotNull Triggerable triggerable)
AbstractBuildStrategy
init
in interface BuildStrategy
init
in class AbstractBuildStrategy
public String getKey()
BuildStrategy
getKey
in interface BuildStrategy
public String getName()
BuildStrategy
getName
in interface BuildStrategy
public String getDescription()
getDescription
in interface BuildStrategy
getDescription
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 null@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 populateFromConfig(@NotNull org.apache.commons.configuration.HierarchicalConfiguration config)
ConvertibleFromConfig
HierarchicalConfiguration
populateFromConfig
in interface ConvertibleFromConfig
populateFromConfig
in class AbstractBuildStrategy
public String getTriggerIpAddress()
public void setTriggerIpAddresses(String triggerIpAddresses)
@NotNull public String[] getAllowedTriggerIpAddresses()
public void setEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher)
public Set<Long> getTriggeringRepositories()
RepositoryAwareBuildStrategy
getTriggeringRepositories
in interface RepositoryAwareBuildStrategy
Set
of Long
public void setTriggeringRepositories(Set<Long> triggeringRepositories)
RepositoryAwareBuildStrategy
setTriggeringRepositories
in interface RepositoryAwareBuildStrategy
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.