com.atlassian.bamboo.build.strategy
Class AbstractQuartzStrategy
java.lang.Object
com.atlassian.bamboo.build.strategy.AbstractBuildStrategy
com.atlassian.bamboo.build.strategy.AbstractQuartzStrategy
- All Implemented Interfaces:
- BuildStrategy, QuartzStrategy, ConvertibleFromConfig, java.io.Serializable
- Direct Known Subclasses:
- CronTriggerBuildStrategy, PollingBuildStrategy, SingleDailyBuildStrategy
public abstract class AbstractQuartzStrategy
- extends AbstractBuildStrategy
- implements QuartzStrategy
- See Also:
- Serialized Form
Field Summary |
protected org.quartz.Scheduler |
scheduler
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
scheduler
protected transient org.quartz.Scheduler scheduler
AbstractQuartzStrategy
public AbstractQuartzStrategy()
init
public void init(Plan plan)
- Description copied from class:
AbstractBuildStrategy
- Default to do nothing
- Specified by:
init
in interface BuildStrategy
- Overrides:
init
in class AbstractBuildStrategy
initialiseJob
public void initialiseJob(Plan plan)
- Description copied from interface:
QuartzStrategy
- must be re runnable
- Specified by:
initialiseJob
in interface QuartzStrategy
removeJob
public void removeJob(Plan plan)
- Specified by:
removeJob
in interface QuartzStrategy
getScheduler
protected org.quartz.Scheduler getScheduler()
setScheduler
public void setScheduler(org.quartz.Scheduler scheduler)
getStrategyJob
@NotNull
protected abstract java.lang.Class<? extends org.quartz.Job> getStrategyJob()
getTrigger
@Nullable
protected abstract org.quartz.Trigger getTrigger(@NotNull
Plan plan)
Copyright © 2010 Atlassian. All Rights Reserved.