@Deprecated public class StashBuildStrategy extends AbstractQuartzStrategy implements RepositoryAwareBuildStrategy
PollingBuildStrategy
.Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_POLLING_PERIOD
Deprecated.
|
BUILD_STRATEGY, REPOSITORY_CHANGE_JOB, scheduler, TRIGGER_CONDITIONS_CONFIGURATION, TRIGGER_ID, TRIGGERED_OBJECT_ID, TRIGGERING_REPOSITORIES
Constructor and Description |
---|
StashBuildStrategy()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canTrigger(Class<? extends Triggerable> type)
Deprecated.
Default implementation: trigger only works for Chains
|
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.
|
protected Class<? extends org.quartz.Job> |
getStrategyJob()
Deprecated.
|
protected org.quartz.Trigger |
getTrigger(Triggerable triggerable)
Deprecated.
|
Set<Long> |
getTriggeringRepositories()
Deprecated.
Return a list of repository ids this trigger is configured for.
|
void |
setTriggeringRepositories(Set<Long> triggeringRepositories)
Deprecated.
Set list of repository ids this trigger is configured for.
|
createJobDetail, getScheduler, getUniqueId, init, initialiseJob, removeJob, setScheduler
addDefaultValues, getBuildStrategyManager, getId, getTextProvider, getTriggerConditionsConfiguration, getTriggerDetailsSummaryHtml, getUserDescription, populateFromConfig, setId, setUserDescription, toConfiguration, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addDefaultValues, getTriggerConditionsConfiguration, getTriggerDetailsSummaryHtml, getUserDescription, init, setId, setUserDescription, validate
populateFromConfig, toConfiguration
getId
public static final int DEFAULT_POLLING_PERIOD
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
@NotNull protected Class<? extends org.quartz.Job> getStrategyJob()
getStrategyJob
in class AbstractQuartzStrategy
@Nullable protected org.quartz.Trigger getTrigger(@NotNull Triggerable triggerable)
getTrigger
in class AbstractQuartzStrategy
public Set<Long> getTriggeringRepositories()
RepositoryAwareBuildStrategy
getTriggeringRepositories
in interface RepositoryAwareBuildStrategy
Set
of Long
public void setTriggeringRepositories(Set<Long> triggeringRepositories)
RepositoryAwareBuildStrategy
setTriggeringRepositories
in interface RepositoryAwareBuildStrategy
public boolean canTrigger(@NotNull Class<? extends Triggerable> type)
AbstractBuildStrategy
canTrigger
in interface BuildStrategy
canTrigger
in class AbstractQuartzStrategy
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.