@Deprecated public class CronTriggerBuildStrategy extends AbstractQuartzStrategy
| Modifier and Type | Field and Description |
|---|---|
static String |
CFG_BRANCH_SELECTION_MODE
Deprecated.
|
static String |
CFG_DEPLOYMENTS_MODE
Deprecated.
|
static String |
CFG_SOURCE_BRANCH
Deprecated.
|
static String |
CFG_SOURCE_PLAN
Deprecated.
|
static String |
KEY
Deprecated.
|
BUILD_STRATEGY, REPOSITORY_CHANGE_JOB, scheduler, TRIGGER_CONDITIONS_CONFIGURATION, TRIGGER_ID, TRIGGERED_OBJECT_ID, TRIGGERING_REPOSITORIES| Constructor and Description |
|---|
CronTriggerBuildStrategy()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addDefaultValues(BuildConfiguration buildConfiguration)
Deprecated.
|
protected org.quartz.JobDetail |
createJobDetail(Triggerable triggerable,
String jobName)
Deprecated.
|
DeploymentTriggerBranchSelectionMode |
getBranchSelectionMode()
Deprecated.
|
String |
getCronExpression()
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.
|
PlanKey |
getSourceBranch()
Deprecated.
|
PlanKey |
getSourcePlan()
Deprecated.
|
PlanKey |
getSourcePlanKey(Triggerable triggerable)
Deprecated.
|
protected Class<? extends org.quartz.Job> |
getStrategyJob()
Deprecated.
|
protected org.quartz.Trigger |
getTrigger(Triggerable plan)
Deprecated.
|
String |
getTriggerDetailsSummaryHtml(Triggerable triggerable,
com.atlassian.core.i18n.I18nTextProvider i18nTextProvider)
Deprecated.
|
void |
populateFromConfig(org.apache.commons.configuration.HierarchicalConfiguration config)
Deprecated.
This method might be used in priority upgrade tasks so it should not use cachedPlanManager
|
void |
setBranchSelectionMode(DeploymentTriggerBranchSelectionMode branchSelectionMode)
Deprecated.
|
void |
setCachedPlanManager(CachedPlanManager cachedPlanManager)
Deprecated.
|
void |
setCronExpression(String cronExpression)
Deprecated.
|
void |
setEnvironmentTriggerService(EnvironmentTriggerService environmentTriggerService)
Deprecated.
|
void |
setSourceBranch(PlanKey sourceBranch)
Deprecated.
|
void |
setSourcePlan(PlanKey sourcePlan)
Deprecated.
|
void |
setTemplateRenderer(TemplateRenderer templateRenderer)
Deprecated.
|
void |
setTextProvider(com.atlassian.struts.TextProvider textProvider)
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 |
canTrigger, getScheduler, getUniqueId, init, initialiseJob, removeJob, setSchedulergetBuildStrategyManager, getId, getTextProvider, getTriggerConditionsConfiguration, getUserDescription, setId, setUserDescriptionpublic static final String KEY
public static final String CFG_DEPLOYMENTS_MODE
public static final String CFG_BRANCH_SELECTION_MODE
public static final String CFG_SOURCE_PLAN
public static final String CFG_SOURCE_BRANCH
public String getKey()
BuildStrategypublic String getName()
BuildStrategypublic String getDescription()
getDescription in interface BuildStrategygetDescription in class AbstractBuildStrategy@NotNull public org.apache.commons.configuration.HierarchicalConfiguration toConfiguration()
ConvertibleFromConfigHierarchicalConfiguration from the current state of the objecttoConfiguration in interface ConvertibleFromConfigtoConfiguration in class AbstractBuildStrategyHierarchicalConfiguration. Never nullpublic void populateFromConfig(@NotNull
org.apache.commons.configuration.HierarchicalConfiguration config)
populateFromConfig in interface ConvertibleFromConfigpopulateFromConfig in class AbstractBuildStrategypublic void addDefaultValues(BuildConfiguration buildConfiguration)
addDefaultValues in interface BuildStrategyaddDefaultValues in class AbstractBuildStrategypublic ErrorCollection validate(BuildConfiguration buildConfiguration)
BuildStrategyBuildConfiguration and returns any errors possiblevalidate in interface BuildStrategyvalidate in class AbstractBuildStrategybuildConfiguration - not nullErrorCollection. must not be null@NotNull protected Class<? extends org.quartz.Job> getStrategyJob()
getStrategyJob in class AbstractQuartzStrategy@Nullable
protected org.quartz.Trigger getTrigger(@NotNull
Triggerable plan)
getTrigger in class AbstractQuartzStrategyprotected org.quartz.JobDetail createJobDetail(@NotNull
Triggerable triggerable,
@NotNull
String jobName)
createJobDetail in class AbstractQuartzStrategy@NotNull public String getTriggerDetailsSummaryHtml(@NotNull Triggerable triggerable, @NotNull com.atlassian.core.i18n.I18nTextProvider i18nTextProvider)
getTriggerDetailsSummaryHtml in interface BuildStrategygetTriggerDetailsSummaryHtml in class AbstractBuildStrategy@NotNull public DeploymentTriggerBranchSelectionMode getBranchSelectionMode()
@Nullable public PlanKey getSourcePlanKey(@NotNull Triggerable triggerable)
public void setCachedPlanManager(CachedPlanManager cachedPlanManager)
public void setEnvironmentTriggerService(EnvironmentTriggerService environmentTriggerService)
public void setTextProvider(com.atlassian.struts.TextProvider textProvider)
public void setTemplateRenderer(TemplateRenderer templateRenderer)
public String getCronExpression()
public void setCronExpression(String cronExpression)
public void setBranchSelectionMode(DeploymentTriggerBranchSelectionMode branchSelectionMode)
public PlanKey getSourceBranch()
public void setSourceBranch(PlanKey sourceBranch)
public PlanKey getSourcePlan()
public void setSourcePlan(PlanKey sourcePlan)
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.