com.atlassian.bamboo.build.strategy
Class AbstractQuartzStrategy

java.lang.Object
  extended by com.atlassian.bamboo.build.strategy.AbstractBuildStrategy
      extended by 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
           
 
Fields inherited from interface com.atlassian.bamboo.build.strategy.QuartzStrategy
BUILD_KEY, BUILD_STRATEGY, REPOSITORY_CHANGE_JOB
 
Constructor Summary
AbstractQuartzStrategy()
           
 
Method Summary
protected  org.quartz.Scheduler getScheduler()
           
protected abstract  java.lang.Class<? extends org.quartz.Job> getStrategyJob()
           
protected abstract  org.quartz.Trigger getTrigger(Build build)
           
 void init(Build build)
          Default to do nothing
 void initialiseJob(Build build)
          must be re runnable
 void removeJob(Build build)
           
 void setScheduler(org.quartz.Scheduler scheduler)
           
 
Methods inherited from class com.atlassian.bamboo.build.strategy.AbstractBuildStrategy
addDefaultValues, getDescription, log, populateFromConfig, toConfiguration, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.bamboo.build.strategy.BuildStrategy
addDefaultValues, getDescription, getKey, getName, validate
 
Methods inherited from interface com.atlassian.bamboo.fieldvalue.ConvertibleFromConfig
populateFromConfig, toConfiguration
 

Field Detail

scheduler

protected transient org.quartz.Scheduler scheduler
Constructor Detail

AbstractQuartzStrategy

public AbstractQuartzStrategy()
Method Detail

init

public void init(Build build)
Description copied from class: AbstractBuildStrategy
Default to do nothing

Specified by:
init in interface BuildStrategy
Overrides:
init in class AbstractBuildStrategy

initialiseJob

public void initialiseJob(Build build)
Description copied from interface: QuartzStrategy
must be re runnable

Specified by:
initialiseJob in interface QuartzStrategy

removeJob

public void removeJob(Build build)
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(Build build)


Copyright © 2008 Atlassian Pty Ltd. All Rights Reserved.