@Deprecated public abstract class AbstractQuartzStrategy extends AbstractBuildStrategy
Modifier and Type | Field and Description |
---|---|
String |
BUILD_STRATEGY
Deprecated.
|
String |
REPOSITORY_CHANGE_JOB
Deprecated.
|
protected org.quartz.Scheduler |
scheduler
Deprecated.
|
String |
TRIGGER_CONDITIONS_CONFIGURATION
Deprecated.
|
String |
TRIGGER_ID
Deprecated.
|
String |
TRIGGERED_OBJECT_ID
Deprecated.
|
String |
TRIGGERING_REPOSITORIES
Deprecated.
|
Constructor and Description |
---|
AbstractQuartzStrategy()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canTrigger(Class<? extends Triggerable> type)
Deprecated.
Default implementation: trigger only works for Chains
|
protected org.quartz.JobDetail |
createJobDetail(Triggerable triggerable,
String jobName)
Deprecated.
|
protected org.quartz.Scheduler |
getScheduler()
Deprecated.
|
protected abstract Class<? extends org.quartz.Job> |
getStrategyJob()
Deprecated.
|
protected abstract org.quartz.Trigger |
getTrigger(Triggerable plan)
Deprecated.
|
protected String |
getUniqueId(Triggerable triggerable)
Deprecated.
|
void |
init(Triggerable triggerable)
Deprecated.
Default to do nothing
|
void |
initialiseJob(Triggerable triggerable)
Deprecated.
|
void |
removeJob(Triggerable triggerable)
Deprecated.
|
void |
setScheduler(org.quartz.Scheduler scheduler)
Deprecated.
|
addDefaultValues, getBuildStrategyManager, getDescription, getId, getTextProvider, getTriggerConditionsConfiguration, getTriggerDetailsSummaryHtml, getUserDescription, populateFromConfig, setId, setUserDescription, toConfiguration, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getKey, getName
public String REPOSITORY_CHANGE_JOB
public String BUILD_STRATEGY
public String TRIGGERED_OBJECT_ID
public String TRIGGERING_REPOSITORIES
public String TRIGGER_CONDITIONS_CONFIGURATION
public String TRIGGER_ID
protected transient org.quartz.Scheduler scheduler
public void init(@NotNull Triggerable triggerable)
AbstractBuildStrategy
init
in interface BuildStrategy
init
in class AbstractBuildStrategy
public void initialiseJob(Triggerable triggerable)
protected String getUniqueId(Triggerable triggerable)
protected org.quartz.JobDetail createJobDetail(@NotNull Triggerable triggerable, @NotNull String jobName)
public void removeJob(Triggerable triggerable)
public boolean canTrigger(@NotNull Class<? extends Triggerable> type)
AbstractBuildStrategy
canTrigger
in interface BuildStrategy
canTrigger
in class AbstractBuildStrategy
protected final org.quartz.Scheduler getScheduler()
public void setScheduler(org.quartz.Scheduler scheduler)
@NotNull protected abstract Class<? extends org.quartz.Job> getStrategyJob()
@Nullable protected abstract org.quartz.Trigger getTrigger(@NotNull Triggerable plan)
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.