|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.bamboo.legacy.LegacyAbstractBuildStrategy
com.atlassian.bamboo.legacy.LegacyAbstractPollingBuildStrategy
com.atlassian.bamboo.legacy.LegacyPollingBuildStrategy
public class LegacyPollingBuildStrategy
This class defines the build, only if the build has changed strategy. This is the normal case for continuous integration.
| Constructor Summary | |
|---|---|
LegacyPollingBuildStrategy()
|
|
LegacyPollingBuildStrategy(AdministrationConfiguration administrationConfiguration)
|
|
| Method Summary | |
|---|---|
void |
addDefaultValues(BuildConfiguration buildConfiguration)
|
Collection |
getChangeList()
Get the changes that have been detected |
String |
getDescription()
|
String |
getKey()
A lowercase string key to identify the build strategy |
String |
getName()
Returns the display name of the strategy |
boolean |
requiresBuild(Build build)
Has the given build changed since this last time is was built? If the elapsed time since the build is within the build's polling period it's ignored |
boolean |
requiresPreBuildClean()
No point! |
ErrorCollection |
validate(BuildConfiguration buildConfiguration)
Takes in a BuildConfiguration and returns any errors possible |
| Methods inherited from class com.atlassian.bamboo.legacy.LegacyAbstractPollingBuildStrategy |
|---|
getBuildMessage, hasBeenPolled, isWithinPollingPeriod, setBuildMessage, updateLastPollTime |
| Methods inherited from class com.atlassian.bamboo.legacy.LegacyAbstractBuildStrategy |
|---|
init, log, populateFromConfig, toConfiguration |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LegacyPollingBuildStrategy()
public LegacyPollingBuildStrategy(AdministrationConfiguration administrationConfiguration)
| Method Detail |
|---|
public String getKey()
BuildStrategy
public String getName()
BuildStrategy
public String getDescription()
getDescription in interface BuildStrategygetDescription in class LegacyAbstractBuildStrategypublic void addDefaultValues(BuildConfiguration buildConfiguration)
addDefaultValues in interface BuildStrategyaddDefaultValues in class LegacyAbstractBuildStrategypublic ErrorCollection validate(BuildConfiguration buildConfiguration)
BuildStrategyBuildConfiguration and returns any errors possible
validate in interface BuildStrategyvalidate in class LegacyAbstractBuildStrategybuildConfiguration - not null
ErrorCollection. must not be null
public boolean requiresBuild(Build build)
throws RepositoryException
build - The build we are checking for changes
RepositoryExceptionpublic boolean requiresPreBuildClean()
public Collection getChangeList()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||