com.atlassian.bamboo.build
Class TestBuildObjectForTests
java.lang.Object
com.atlassian.bamboo.build.BuildObjectForTests
com.atlassian.bamboo.build.TestBuildObjectForTests
- All Implemented Interfaces:
- Build, BuildDefinition, BuildDefinitionForBuild, BuildDefinitionXml, BambooObject, Describable, Plan, Project, DescriptionProvider, NameProvider, BuildPlanDefinition, java.io.Serializable
public class TestBuildObjectForTests
- extends BuildObjectForTests
- See Also:
- Serialized Form
Methods inherited from class com.atlassian.bamboo.build.BuildObjectForTests |
accept, addArtifact, addBuildLogEntry, addBuildLogEntry, clearBuildLog, equals, getArtifactDefinitions, getArtifacts, getAverageBuildDuration, getBuildChangedEmailList, getBuildChangedEmails, getBuildDefinition, getBuildDefinitionXml, getBuilder, getBuilderManager, getBuilderV2, getBuildKey, getBuildLog, getBuildLogger, getBuildName, getBuildResultsSummaryManager, getBuilds, getBuildStrategy, getChains, getConfigObjects, getCurrentBuildStrategy, getCurrentStatus, getCustomConfiguration, getDefaultBuildDefinition, getDescription, getFieldValueItems, getFirstBuildNumber, getId, getKey, getLabellings, getLastBuildNumber, getLastBuildStartTime, getLastVcsRevisionKey, getName, getNextBuildNumber, getNextBuildResults, getNotificationSet, getPlan, getPlanKey, getPlans, getPollingPeriod, getPreviousBuildResults, getProject, getRelatedLabellings, getRepository, getRepositoryV2, getRequirementSet, getSourceCodeDirectory, getTestClasses, getWebRepositoryViewer, getXmlData, getXmppMessageSender, hasArtifacts, hasBuildResults, hashCode, isBusy, isExecuting, isInBuildQueue, isMarkedForDeletion, isMarkedForEditBuild, isMarkedForManualBuild, isSuspendedFromBuilding, markAsNeedingBuilding, markForDeletion, removeBuildResultSummary, save, setArtifacts, setBuildChangedEmails, setBuildDefinition, setBuildDefinitionXml, setBuilder, setBuilderManager, setBuildKey, setBuildName, setBuildResultsSummaryManager, setBuildResultSummaries, setBuildStrategy, setConfigObjects, setCustomConfiguration, setDescription, setFieldValueItems, setFirstBuildNumber, setId, setInBuildQueue, setKey, setLabellings, setLastBuildNumber, setLastBuildStartTime, setLastVcsRevisionKey, setName, setNextBuildNumber, setNotificationSet, setPlan, setPollingPeriod, setProject, setRepository, setRequirementSet, setSuspendedFromBuilding, setWebRepositoryViewer, setWorkingDirectory, setXmlData, setXmppMessageSender, unmarkBuild, unMarkForDeletion, validateBuild |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
TestBuildObjectForTests
public TestBuildObjectForTests()
TestBuildObjectForTests
public TestBuildObjectForTests(Repository repository,
java.lang.String name)
TestBuildObjectForTests
public TestBuildObjectForTests(Repository repository,
java.lang.String name,
java.lang.String emailAddress)
removeBuildResultSummary
public void removeBuildResultSummary(long buildNumber)
addBuildResultSummary
public void addBuildResultSummary(BuildResultsSummary buildResultsSummary)
- Description copied from class:
BuildObjectForTests
- Add the given build results summary to the build.
- Specified by:
addBuildResultSummary
in interface Build
- Overrides:
addBuildResultSummary
in class BuildObjectForTests
- Parameters:
buildResultsSummary
- The build summary
getBuildResultSummaries
public java.util.List getBuildResultSummaries()
- Description copied from class:
BuildObjectForTests
- 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
- Overrides:
getBuildResultSummaries
in class BuildObjectForTests
- Returns:
- The collection of build summary objects
getNumberOfBuildSummaries
public long getNumberOfBuildSummaries()
- Overrides:
getNumberOfBuildSummaries
in class BuildObjectForTests
getLatestBuildSummary
public ExtendedBuildResultsSummary getLatestBuildSummary()
- Description copied from class:
BuildObjectForTests
- Get the summary from the latest build
- Specified by:
getLatestBuildSummary
in interface Build
- Overrides:
getLatestBuildSummary
in class BuildObjectForTests
- Returns:
- The summary info for the last completed build. Returns null if there are no build results for this
build
getFirstBuildSummary
public BuildResultsSummary getFirstBuildSummary()
- Description copied from interface:
Build
- Get the first build result
- Specified by:
getFirstBuildSummary
in interface Build
- Overrides:
getFirstBuildSummary
in class BuildObjectForTests
- Returns:
- result
Copyright © 2010 Atlassian. All Rights Reserved.