@Deprecated public class SingleDailyBuildStrategy extends AbstractQuartzStrategy
BUILD_STRATEGY, REPOSITORY_CHANGE_JOB, scheduler, TRIGGER_CONDITIONS_CONFIGURATION, TRIGGER_ID, TRIGGERED_OBJECT_ID, TRIGGERING_REPOSITORIES
Constructor and Description |
---|
SingleDailyBuildStrategy()
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 |
getFormattedTime()
Deprecated.
|
int |
getHour()
Deprecated.
|
String |
getKey()
Deprecated.
A lowercase string key to identify the build strategy
|
int |
getMinute()
Deprecated.
|
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 plan)
Deprecated.
|
void |
populateFromConfig(org.apache.commons.configuration.HierarchicalConfiguration config)
Deprecated.
Update the current object with data in the
HierarchicalConfiguration |
void |
setHour(int hour)
Deprecated.
|
void |
setMinute(int minute)
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 |
createJobDetail, getScheduler, getUniqueId, init, initialiseJob, removeJob, setScheduler
addDefaultValues, getBuildStrategyManager, getId, getTextProvider, getTriggerConditionsConfiguration, getTriggerDetailsSummaryHtml, getUserDescription, setId, setUserDescription
public String getKey()
BuildStrategy
public String getName()
BuildStrategy
public String getDescription()
getDescription
in interface BuildStrategy
getDescription
in class AbstractBuildStrategy
@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 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 protected Class<? extends org.quartz.Job> getStrategyJob()
getStrategyJob
in class AbstractQuartzStrategy
@Nullable protected org.quartz.Trigger getTrigger(@NotNull Triggerable plan)
getTrigger
in class AbstractQuartzStrategy
public boolean canTrigger(@NotNull Class<? extends Triggerable> type)
AbstractBuildStrategy
canTrigger
in interface BuildStrategy
canTrigger
in class AbstractQuartzStrategy
public int getHour()
public void setHour(int hour)
public int getMinute()
public void setMinute(int minute)
public String getFormattedTime()
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.