com.atlassian.bamboo.build.strategy
Class AbstractPollingBuildStrategy

java.lang.Object
  extended by com.atlassian.bamboo.build.strategy.AbstractBuildStrategy
      extended by com.atlassian.bamboo.build.strategy.AbstractPollingBuildStrategy
All Implemented Interfaces:
BuildStrategy, ConvertibleFromConfig
Direct Known Subclasses:
FisheyeTriggeredBuildStrategy, PollingBuildStrategy

public abstract class AbstractPollingBuildStrategy
extends AbstractBuildStrategy

Common polling behaviour

Author:
Nick and Andy

Field Summary
 
Fields inherited from class com.atlassian.bamboo.build.strategy.AbstractBuildStrategy
changeList
 
Constructor Summary
AbstractPollingBuildStrategy()
           
 
Method Summary
protected  void hasBeenPolled()
           
protected  boolean isWithinPollingPeriod(Build build)
           
protected  void updateLastPollTime(DateTime time)
           
 
Methods inherited from class com.atlassian.bamboo.build.strategy.AbstractBuildStrategy
addDefaultValues, getBuildMessage, getChangeList, getDescription, init, log, populateChangeList, populateFromConfig, setBuildMessage, 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
getKey, getName, requiresBuild, requiresPreBuildClean
 

Constructor Detail

AbstractPollingBuildStrategy

public AbstractPollingBuildStrategy()
Method Detail

isWithinPollingPeriod

protected boolean isWithinPollingPeriod(Build build)

updateLastPollTime

protected void updateLastPollTime(DateTime time)

hasBeenPolled

protected void hasBeenPolled()


Copyright © 2006 Atlassian Software Systems. All Rights Reserved.