com.atlassian.bamboo.legacy
Class LegacyAbstractPollingBuildStrategy
java.lang.Object
com.atlassian.bamboo.legacy.LegacyAbstractBuildStrategy
com.atlassian.bamboo.legacy.LegacyAbstractPollingBuildStrategy
- All Implemented Interfaces:
- BuildStrategy, ConvertibleFromConfig
- Direct Known Subclasses:
- LegacyPollingBuildStrategy
public abstract class LegacyAbstractPollingBuildStrategy
- extends LegacyAbstractBuildStrategy
Common polling behaviour
- Author:
- Nick and Andy
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LegacyAbstractPollingBuildStrategy
public LegacyAbstractPollingBuildStrategy()
isWithinPollingPeriod
protected boolean isWithinPollingPeriod(Build build)
updateLastPollTime
protected void updateLastPollTime(DateTime time)
hasBeenPolled
protected void hasBeenPolled()
getBuildMessage
public String getBuildMessage()
- The strategies build message
- Specified by:
getBuildMessage
in interface BuildStrategy
- Overrides:
getBuildMessage
in class LegacyAbstractBuildStrategy
- Returns:
- The message
setBuildMessage
public void setBuildMessage(String buildMessage)
- Let the subclass strategies set their own custom messages
- Specified by:
setBuildMessage
in interface BuildStrategy
- Overrides:
setBuildMessage
in class LegacyAbstractBuildStrategy
- Parameters:
buildMessage
- the message
Copyright © 2006 Atlassian Software Systems. All Rights Reserved.