com.atlassian.bamboo.legacy
Class LegacyBuildObjectFor110

java.lang.Object
  extended by com.atlassian.bamboo.legacy.LegacyBuildObjectFor110
All Implemented Interfaces:
Build, BuildDefinition, BuildDefinitionForBuild, BuildDefinitionXml, BambooObject, Project

public class LegacyBuildObjectFor110
extends Object
implements Project, Build, BuildDefinition, BuildDefinitionForBuild

Information about a build under Continuous Integration.


Field Summary
protected  List myBuildResultSummaries
           
 
Fields inherited from interface com.atlassian.bamboo.build.Build
MAX_NUMBER_LOG_ENTRIES, MAX_PREVIOUS_BUILD_FOR_AVE, STATUS_CURRENTLY_BUILDING, STATUS_FAIL, STATUS_NO_BUILDS, STATUS_SUCCESS
 
Constructor Summary
LegacyBuildObjectFor110()
          Simple package constructor for testing
LegacyBuildObjectFor110(Repository repository, String name, BuilderManager builderManager)
          Create a build
LegacyBuildObjectFor110(Repository repository, String name, String emailAddress, BuilderManager builderManager)
          Create a build
 
Method Summary
 void addArtifact(Artifact artifact)
          Add a new artifact to the existing build artifacts
 void addBuildDependency(String buildKey)
           
 String addBuildLogEntry(LogEntry logEntry)
          Add a new build log entry.
 String addBuildLogEntry(String entryDescription)
          Add a new entry to the build log
 void addBuildResultSummary(BuildResultsSummary buildResultsSummary)
          Add the given build results summary to the build.
 void clearBuildLog()
          Reset the build log, ready for the next build
 boolean equals(Object o)
          We're only using the build name to compare builds
 Map getArtifacts()
          Get the custom Artifacts.
 long getAverageBuildDuration()
          Returns an average duration of the recent builds
 Build getBuild()
           
 List getBuildChangedEmailList()
          Who wants to know when the build changes? A list of individual email addresses.
 String getBuildChangedEmails()
          Who wants to know when the build changes? One or more email addresses (comma separated list)
 BuildDefinition getBuildDefinition()
          Returns the BuildDefinition that backs this buildd
 BuildDefinitionForBuild getBuildDefinitionXml()
           
 List getBuildDependencies()
          The names of the builds that need to be build when this build is built?
 Set getBuildDependenciesSet()
           
 Builder getBuilder()
          Obtain the build's Builder.
 String getBuildKey()
          Thie returns the build portion of the build key
 List getBuildLog()
          Provide the latest build details.
 String getBuildName()
           
 BuildResultsSummaryManager getBuildResultsSummaryManager()
           
 List getBuildResultSummaries()
          Obtains the builds total collection of BuildResultsSummary objects (most recent first), one for each build.
 List getBuilds()
          Returns all Build associated with the Project.
 BuildStrategy getBuildStrategy()
          Returns to BuildStrategy that the user actually selects
 Set getChildBuilds()
           
 BuildStrategy getCurrentBuildStrategy()
          What is the builds current BuildStrategy?

If the build has never been built, it returns a InitialBootstapBuildStrategy otherwise it returns the build specific BuildStrategy.

 String getCurrentStatus()
          Retuns a string key as to what the status is.
 Map getCustomConfiguration()
           
 BuildDefinition getDefaultBuildDefinition()
           
 EmailStrategy getEmailStrategy()
          What email strategy does this build have?
 String getExportStatusStyle()
           
 List getFieldValueItems()
           
 int getFirstBuildNumber()
          What the number of the first build we have? It may not be 1 as some may have been removed!
 BuildResultsSummary getFirstBuildSummary()
           
 long getId()
           
 String getKey()
          Obtain the build's unique key (uppercase alphanumeric).
 List getLabellings()
           
 int getLastBuildNumber()
          What was the number of the lastest build (may be being built)
 Date getLastBuildStartTime()
          When was the last time this build was built?
 BuildResultsSummary getLatestBuildSummary()
          Get the summary from the latest build
 String getName()
          Obtain the build's name
 int getNextBuildNumber()
           
 BuildResults getNextBuildResults(int buildNumber)
           
 long getNumberOfBuildSummaries()
           
 Set getParentBuilds()
           
 int getPollingPeriod()
          How long should we wait between checking the build to see if it need building?
 BuildResults getPreviousBuildResults(int buildNumber)
          Gets the first BuildResultsImpl before the passed number
 Project getProject()
          Returns the parent Project
 Repository getRepository()
          Obtain the build's Repository.
 File getSourceCodeDirectory()
          Returns a file representing the source directory from the Repository
 String getXmlData()
           
 XmppMessageSender getXmppMessageSender()
          The build's option IM message server configuration
 boolean hasArtifacts()
           
 boolean hasBuildDependency(String buildKey)
           
 boolean hasBuildResults()
          Has the build got any build results to display?
 int hashCode()
          IntelliJ generated hash
 boolean isInBuildQueue()
          Is the build currenlty being built?
 boolean isMarkedForDeletion()
          Whether or not the build has been marked for deletion
 boolean isMarkedForDependencyBuild()
          Has the build been marked for a build following a dependent build having completed?
 boolean isMarkedForEditBuild()
          Has the build been marked for a build following an edit?
 boolean isMarkedForManualBuild()
          Has a manual build been requested for this build?
 boolean isSuspendedFromBuilding()
          Checks if the build has been
 void markAsNeedingBuilding(ReasonForBuild reasonForBuild)
          Mark the build to force a build next time it's checked.
 void markForDeletion()
          Marks the build to be deleted.
 void removeBuildDependency(String buildKey)
           
 void removeBuildResultSummary(long buildNumber)
          Remove the given build summary from the build
 int retrieveNextBuildNumber()
           
 void setArtifacts(Map artifacts)
          Replace the build's artifacts with these ones.
 void setBuild(Build build)
           
 void setBuildChangedEmails(String emailAddress)
          Define who is notified of build results by email
 void setBuildDefinition(BuildDefinitionForBuild buildDefinition)
           
 void setBuildDefinitionXml(BuildDefinitionForBuild buildDefinitionXml)
           
 void setBuildDependencies(Set buildDependencies)
          Set of String represneting the build keys
 void setBuilder(Builder builder)
          Set the build's builder.
 void setBuilderManager(BuilderManager builderManager)
           
 void setBuildKey(String buildKey)
          Define the build's unique key (uppercase alphanumeric)
 void setBuildName(String buildName)
           
 void setBuildResultsSummaryManager(BuildResultsSummaryManager buildResultsSummaryManager)
           
 void setBuildResultSummaries(List buildResultSummaries)
          Legacy left over method (this is the extreme version of build result summaries)
 void setBuildStrategy(BuildStrategy buildStrategy)
          Set the strategy to override the default build strategy.
 void setChildBuilds(Set childBuilds)
           
 void setCustomConfiguration(Map configMap)
           
 void setEmailStrategy(EmailStrategy emailStrategy)
          Define when build build email need to be sent
 void setExportStatusStyle(String exportStatusStyle)
           
 void setFieldValueItems(List fieldValueItems)
           
 void setFirstBuildNumber(int firstBuildNumber)
           
 void setId(long id)
           
 void setInBuildQueue(boolean isBuilding)
          Set the is-building flag.
 void setKey(String key)
          Sets the key for the project.
 void setLabellings(List labellings)
           
 void setLastBuildNumber(int lastBuildNumber)
           
 void setLastBuildStartTime(Date lastBuildTime)
          Set the time of the last build
 void setName(String name)
           
 void setNextBuildNumber(int nextBuildNumber)
           
 void setParentBuilds(Set parentBuilds)
           
 void setPollingPeriod(int pollingPeriod)
          How long should we wait between checking the build to see if it need building?
 void setProject(Project project)
           
 void setRepository(Repository repository)
          Set the build's source code repository.
 void setSuspendedFromBuilding(boolean suspendFromBuilding)
          Sets the build to suspend temporarily
 void setWorkingDirectory(String buildDirectory)
           
 void setXmlData(String xmlData)
           
 void setXmppMessageSender(XmppMessageSender xmppMessageSender)
          The build's option IM message server configuration
 void unmarkBuild()
          Clear all the build flags.
 ErrorCollection validateBuild()
          Validates the build's builder and source code locations
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

myBuildResultSummaries

protected List myBuildResultSummaries
Constructor Detail

LegacyBuildObjectFor110

public LegacyBuildObjectFor110()
Simple package constructor for testing


LegacyBuildObjectFor110

public LegacyBuildObjectFor110(Repository repository,
                               String name,
                               BuilderManager builderManager)
Create a build

Parameters:
repository - The Repository containing the build
name - The name of the build
builderManager -

LegacyBuildObjectFor110

public LegacyBuildObjectFor110(Repository repository,
                               String name,
                               String emailAddress,
                               BuilderManager builderManager)
Create a build

Parameters:
repository - The Repository containing the build
name - The name of the build
emailAddress - The build email notification address
builderManager -
Method Detail

getParentBuilds

public Set getParentBuilds()
Specified by:
getParentBuilds in interface Build

setParentBuilds

public void setParentBuilds(Set parentBuilds)
Specified by:
setParentBuilds in interface Build

getChildBuilds

public Set getChildBuilds()
Specified by:
getChildBuilds in interface Build

setChildBuilds

public void setChildBuilds(Set childBuilds)
Specified by:
setChildBuilds in interface Build

getCurrentStatus

public String getCurrentStatus()
Description copied from interface: Build
Retuns a string key as to what the status is. Can be "success", "failure" or "current". Mainly used for UI purposes.

Specified by:
getCurrentStatus in interface Build
Specified by:
getCurrentStatus in interface Project
Returns:
a String

getBuildName

public String getBuildName()
Specified by:
getBuildName in interface Build

setBuildName

public void setBuildName(String buildName)
Specified by:
setBuildName in interface Build

getBuildDefinitionXml

public BuildDefinitionForBuild getBuildDefinitionXml()
Specified by:
getBuildDefinitionXml in interface Build

setBuildDefinitionXml

public void setBuildDefinitionXml(BuildDefinitionForBuild buildDefinitionXml)
Specified by:
setBuildDefinitionXml in interface Build

setFieldValueItems

public void setFieldValueItems(List fieldValueItems)

setNextBuildNumber

public void setNextBuildNumber(int nextBuildNumber)
Specified by:
setNextBuildNumber in interface Build

setLastBuildNumber

public void setLastBuildNumber(int lastBuildNumber)
Specified by:
setLastBuildNumber in interface Build

setFirstBuildNumber

public void setFirstBuildNumber(int firstBuildNumber)
Specified by:
setFirstBuildNumber in interface Build

getNextBuildNumber

public int getNextBuildNumber()
Specified by:
getNextBuildNumber in interface Build

setKey

public void setKey(String key)
Description copied from interface: Project
Sets the key for the project. Must not be null

Specified by:
setKey in interface Build
Specified by:
setKey in interface Project

getBuildKey

public String getBuildKey()
Description copied from interface: Build
Thie returns the build portion of the build key

Specified by:
getBuildKey in interface Build
Returns:
String

setProject

public void setProject(Project project)
Specified by:
setProject in interface Build

setBuild

public void setBuild(Build build)
Specified by:
setBuild in interface BuildDefinitionForBuild

setBuildDefinition

public void setBuildDefinition(BuildDefinitionForBuild buildDefinition)

retrieveNextBuildNumber

public int retrieveNextBuildNumber()
Specified by:
retrieveNextBuildNumber in interface Build

getXmlData

public String getXmlData()
Specified by:
getXmlData in interface BuildDefinitionXml

setXmlData

public void setXmlData(String xmlData)
Specified by:
setXmlData in interface BuildDefinitionXml

getCustomConfiguration

public Map getCustomConfiguration()
Specified by:
getCustomConfiguration in interface BuildDefinition

setCustomConfiguration

public void setCustomConfiguration(Map configMap)
Specified by:
setCustomConfiguration in interface BuildDefinition

getBuildDefinition

public BuildDefinition getBuildDefinition()
Description copied from interface: Build
Returns the BuildDefinition that backs this buildd

Specified by:
getBuildDefinition in interface Build
Returns:
BuildDefinition object. Never null.

getId

public long getId()
Specified by:
getId in interface BambooObject

setId

public void setId(long id)
Specified by:
setId in interface BambooObject

getProject

public Project getProject()
Description copied from interface: Build
Returns the parent Project

Specified by:
getProject in interface Build
Returns:
Project. Never null

getBuild

public Build getBuild()
Specified by:
getBuild in interface BuildDefinitionForBuild

getCurrentBuildStrategy

public BuildStrategy getCurrentBuildStrategy()
What is the builds current BuildStrategy?

If the build has never been built, it returns a InitialBootstapBuildStrategy otherwise it returns the build specific BuildStrategy.

Specified by:
getCurrentBuildStrategy in interface Build
Returns:
The currect build strategy

getBuildStrategy

public BuildStrategy getBuildStrategy()
Description copied from interface: BuildDefinition
Returns to BuildStrategy that the user actually selects

Specified by:
getBuildStrategy in interface BuildDefinition
Returns:
the selected BuildStrategy

setBuildStrategy

public void setBuildStrategy(BuildStrategy buildStrategy)
Set the strategy to override the default build strategy.

Specified by:
setBuildStrategy in interface BuildDefinition
Parameters:
buildStrategy - The next build strategy to use.

getRepository

public Repository getRepository()
Obtain the build's Repository.

Specified by:
getRepository in interface BuildDefinition
Returns:
The Repository

setRepository

public void setRepository(Repository repository)
Set the build's source code repository.

Specified by:
setRepository in interface BuildDefinition
Parameters:
repository - The source repoisitory

getPollingPeriod

public int getPollingPeriod()
How long should we wait between checking the build to see if it need building?

Specified by:
getPollingPeriod in interface BuildDefinition
Returns:
the time in seconds

setPollingPeriod

public void setPollingPeriod(int pollingPeriod)
How long should we wait between checking the build to see if it need building?

Specified by:
setPollingPeriod in interface BuildDefinition
Parameters:
pollingPeriod - The time in seconds

getBuilder

public Builder getBuilder()
Obtain the build's Builder.

Specified by:
getBuilder in interface BuildDefinition
Returns:
The builder

setBuilder

public void setBuilder(Builder builder)
Set the build's builder.

Specified by:
setBuilder in interface BuildDefinition
Parameters:
builder - the builder

getName

public String getName()
Obtain the build's name

Specified by:
getName in interface Build
Specified by:
getName in interface Project
Returns:
The build's name

setName

public void setName(String name)
Specified by:
setName in interface Project

getKey

public String getKey()
Description copied from interface: Build
Obtain the build's unique key (uppercase alphanumeric). This includes the project prefix e.g. BAM-MAIN

Specified by:
getKey in interface Build
Specified by:
getKey in interface Project
Returns:
The full key

getDefaultBuildDefinition

public BuildDefinition getDefaultBuildDefinition()

getBuilds

public List getBuilds()
Description copied from interface: Project
Returns all Build associated with the Project. Returns Collections.EMPTY_LIST` if there are no Builds for the project.

Specified by:
getBuilds in interface Project
Returns:
List of Builds. Collections.EMPTY_LIST` if no builds.

getLabellings

public List getLabellings()
Specified by:
getLabellings in interface Build
Specified by:
getLabellings in interface Project

setLabellings

public void setLabellings(List labellings)
Specified by:
setLabellings in interface Build
Specified by:
setLabellings in interface Project

setBuildKey

public void setBuildKey(String buildKey)
Description copied from interface: Build
Define the build's unique key (uppercase alphanumeric)

Specified by:
setBuildKey in interface Build
Parameters:
buildKey - The value of the key

getBuildChangedEmails

public String getBuildChangedEmails()
Who wants to know when the build changes? One or more email addresses (comma separated list)

Specified by:
getBuildChangedEmails in interface BuildDefinition
Returns:
The build email addresses

setBuildChangedEmails

public void setBuildChangedEmails(String emailAddress)
Define who is notified of build results by email

Specified by:
setBuildChangedEmails in interface BuildDefinition
Parameters:
emailAddress - The build email address

getBuildChangedEmailList

public List getBuildChangedEmailList()
Who wants to know when the build changes? A list of individual email addresses.

Specified by:
getBuildChangedEmailList in interface BuildDefinition
Returns:
The collection of emails.

getLastBuildNumber

public int getLastBuildNumber()
What was the number of the lastest build (may be being built)

Specified by:
getLastBuildNumber in interface Build
Returns:
the build number, zero if the build has not been built

getFirstBuildNumber

public int getFirstBuildNumber()
What the number of the first build we have? It may not be 1 as some may have been removed!

Specified by:
getFirstBuildNumber in interface Build
Returns:
The number of the first build

addBuildResultSummary

public void addBuildResultSummary(BuildResultsSummary buildResultsSummary)
Add the given build results summary to the build.

Specified by:
addBuildResultSummary in interface Build
Parameters:
buildResultsSummary - The build summary

removeBuildResultSummary

public void removeBuildResultSummary(long buildNumber)
Description copied from interface: Build
Remove the given build summary from the build

Specified by:
removeBuildResultSummary in interface Build
Parameters:
buildNumber - the number of the build to delete

setBuildResultSummaries

public void setBuildResultSummaries(List buildResultSummaries)
Legacy left over method (this is the extreme version of build result summaries)

Parameters:
buildResultSummaries -

getBuildResultSummaries

public List getBuildResultSummaries()
Obtains the builds total collection of BuildResultsSummary objects (most recent first), one for each build. EW 01/11/2006 - Moved to a hibernated source for build result summaries.

Specified by:
getBuildResultSummaries in interface Build
Returns:
The collection of build summary objects

setInBuildQueue

public void setInBuildQueue(boolean isBuilding)
Set the is-building flag.

Specified by:
setInBuildQueue in interface Build
Parameters:
isBuilding - Is the build currently in the build pipeline?

isInBuildQueue

public boolean isInBuildQueue()
Is the build currenlty being built?

Specified by:
isInBuildQueue in interface Build
Returns:
true iff is currently in the build pipleline

getLastBuildStartTime

public Date getLastBuildStartTime()
When was the last time this build was built?

Specified by:
getLastBuildStartTime in interface Build
Returns:
The date, null if it has not been build.

setLastBuildStartTime

public void setLastBuildStartTime(Date lastBuildTime)
Set the time of the last build

Specified by:
setLastBuildStartTime in interface Build
Parameters:
lastBuildTime - the time

setWorkingDirectory

public void setWorkingDirectory(String buildDirectory)
Specified by:
setWorkingDirectory in interface BuildDefinition

hasBuildResults

public boolean hasBuildResults()
Has the build got any build results to display?

Specified by:
hasBuildResults in interface Build
Returns:
true if the build has been built, false otherwise

getEmailStrategy

public EmailStrategy getEmailStrategy()
What email strategy does this build have?

Specified by:
getEmailStrategy in interface BuildDefinition

setEmailStrategy

public void setEmailStrategy(EmailStrategy emailStrategy)
Define when build build email need to be sent

Specified by:
setEmailStrategy in interface BuildDefinition
Parameters:
emailStrategy - the strategy to use from now on

setBuildDependencies

public void setBuildDependencies(Set buildDependencies)
Description copied from interface: BuildDefinition
Set of String represneting the build keys

Specified by:
setBuildDependencies in interface BuildDefinition

getBuildDependenciesSet

public Set getBuildDependenciesSet()

addBuildDependency

public void addBuildDependency(String buildKey)
Specified by:
addBuildDependency in interface BuildDefinition

removeBuildDependency

public void removeBuildDependency(String buildKey)
Specified by:
removeBuildDependency in interface BuildDefinition

hasBuildDependency

public boolean hasBuildDependency(String buildKey)
Specified by:
hasBuildDependency in interface BuildDefinition

getBuildDependencies

public List getBuildDependencies()
The names of the builds that need to be build when this build is built?

Specified by:
getBuildDependencies in interface BuildDefinition
Returns:
The names of the builds that need building

hasArtifacts

public boolean hasArtifacts()

getArtifacts

public Map getArtifacts()
Description copied from interface: BuildDefinition
Get the custom Artifacts.

Specified by:
getArtifacts in interface BuildDefinition
Returns:
The collection of artifacts, null, if the build does not have any artifacts

setArtifacts

public void setArtifacts(Map artifacts)
Description copied from interface: BuildDefinition
Replace the build's artifacts with these ones.

Specified by:
setArtifacts in interface BuildDefinition

addArtifact

public void addArtifact(Artifact artifact)
Description copied from interface: BuildDefinition
Add a new artifact to the existing build artifacts

Specified by:
addArtifact in interface BuildDefinition

getLatestBuildSummary

public BuildResultsSummary getLatestBuildSummary()
Get the summary from the latest build

Specified by:
getLatestBuildSummary in interface Build
Returns:
The summary info for the last completed build. Returns null if there are no build results for this build

getFirstBuildSummary

public BuildResultsSummary getFirstBuildSummary()
Specified by:
getFirstBuildSummary in interface Build

getNumberOfBuildSummaries

public long getNumberOfBuildSummaries()

getXmppMessageSender

public XmppMessageSender getXmppMessageSender()
Description copied from interface: BuildDefinition
The build's option IM message server configuration

Specified by:
getXmppMessageSender in interface BuildDefinition

setXmppMessageSender

public void setXmppMessageSender(XmppMessageSender xmppMessageSender)
Description copied from interface: BuildDefinition
The build's option IM message server configuration

Specified by:
setXmppMessageSender in interface BuildDefinition

setExportStatusStyle

public void setExportStatusStyle(String exportStatusStyle)
Specified by:
setExportStatusStyle in interface BuildDefinition

getExportStatusStyle

public String getExportStatusStyle()
Specified by:
getExportStatusStyle in interface BuildDefinition

getBuildLog

public List getBuildLog()
Provide the latest build details. This is not persisted.

Specified by:
getBuildLog in interface Build
Returns:
The collection of log strings

addBuildLogEntry

public String addBuildLogEntry(String entryDescription)
Add a new entry to the build log

Parameters:
entryDescription - The entry to add

addBuildLogEntry

public String addBuildLogEntry(LogEntry logEntry)
Description copied from interface: Build
Add a new build log entry. This will get appended to the end of the log.

Specified by:
addBuildLogEntry in interface Build
Parameters:
logEntry - The data being logged
Returns:
The line of text being logged. From LogEntry.getUnstyledLog().

isMarkedForManualBuild

public boolean isMarkedForManualBuild()
Has a manual build been requested for this build?

Specified by:
isMarkedForManualBuild in interface Build
Returns:
true iff it is has been marked for a manual build

isMarkedForDependencyBuild

public boolean isMarkedForDependencyBuild()
Description copied from interface: Build
Has the build been marked for a build following a dependent build having completed?

Specified by:
isMarkedForDependencyBuild in interface Build
Returns:

isMarkedForEditBuild

public boolean isMarkedForEditBuild()
Description copied from interface: Build
Has the build been marked for a build following an edit?

Specified by:
isMarkedForEditBuild in interface Build
Returns:
true iff it is has been marked for an edit build

markAsNeedingBuilding

public void markAsNeedingBuilding(ReasonForBuild reasonForBuild)
Description copied from interface: Build
Mark the build to force a build next time it's checked.

Specified by:
markAsNeedingBuilding in interface Build
Parameters:
reasonForBuild - The reason we want to build the build

unmarkBuild

public void unmarkBuild()
Description copied from interface: Build
Clear all the build flags.

Specified by:
unmarkBuild in interface Build

validateBuild

public ErrorCollection validateBuild()
Description copied from interface: Build
Validates the build's builder and source code locations

Specified by:
validateBuild in interface Build
Returns:
and ErrorCollection with relevent error messages

getFieldValueItems

public List getFieldValueItems()

getSourceCodeDirectory

public File getSourceCodeDirectory()
Description copied from interface: Build
Returns a file representing the source directory from the Repository

Specified by:
getSourceCodeDirectory in interface Build
Returns:
file`representing the source directory. null iff an exception has been thrown

getAverageBuildDuration

public long getAverageBuildDuration()
Description copied from interface: Build
Returns an average duration of the recent builds

Specified by:
getAverageBuildDuration in interface Build
Returns:
The duration in milliseconds

getPreviousBuildResults

public BuildResults getPreviousBuildResults(int buildNumber)
Description copied from interface: Build
Gets the first BuildResultsImpl before the passed number

Specified by:
getPreviousBuildResults in interface Build
Returns:
BuildResultsImpl. null if no build results can be found before that number

getNextBuildResults

public BuildResults getNextBuildResults(int buildNumber)
Specified by:
getNextBuildResults in interface Build

markForDeletion

public void markForDeletion()
Description copied from interface: Build
Marks the build to be deleted.

Specified by:
markForDeletion in interface Build

isMarkedForDeletion

public boolean isMarkedForDeletion()
Description copied from interface: Build
Whether or not the build has been marked for deletion

Specified by:
isMarkedForDeletion in interface Build
Returns:

setSuspendedFromBuilding

public void setSuspendedFromBuilding(boolean suspendFromBuilding)
Description copied from interface: Build
Sets the build to suspend temporarily

Specified by:
setSuspendedFromBuilding in interface Build

isSuspendedFromBuilding

public boolean isSuspendedFromBuilding()
Description copied from interface: Build
Checks if the build has been

Specified by:
isSuspendedFromBuilding in interface Build
Returns:

clearBuildLog

public void clearBuildLog()
Description copied from interface: Build
Reset the build log, ready for the next build

Specified by:
clearBuildLog in interface Build

equals

public boolean equals(Object o)
We're only using the build name to compare builds

Overrides:
equals in class Object
Parameters:
o - object we are comparing
Returns:
usual stuff

hashCode

public int hashCode()
IntelliJ generated hash

Overrides:
hashCode in class Object
Returns:
hash

setBuilderManager

public void setBuilderManager(BuilderManager builderManager)

getBuildResultsSummaryManager

public BuildResultsSummaryManager getBuildResultsSummaryManager()

setBuildResultsSummaryManager

public void setBuildResultsSummaryManager(BuildResultsSummaryManager buildResultsSummaryManager)


Copyright © 2006 Atlassian Software Systems. All Rights Reserved.