com.atlassian.bamboo.build
Class TestBuildObjectForTests
java.lang.Object
com.atlassian.bamboo.build.BuildObjectForTests
com.atlassian.bamboo.build.TestBuildObjectForTests
- All Implemented Interfaces:
- Build, Buildable, BuildDefinition, BuildDefinitionForBuild, BuildDefinitionXml, BambooObject, Deletable, Describable, Plan, TopLevelPlan, 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 |
addBuildLogEntry, addBuildLogEntry, clearBuildLog, equals, getArtifactDefinitions, getAverageBuildDuration, getBuildChangedEmailList, getBuildChangedEmails, getBuildDefinition, getBuildDefinitionXml, getBuilder, getBuilderManager, getBuilderV2, getBuildKey, getBuildLog, getBuildLogger, getBuildName, getBuildResultsSummaryManager, getBuildStrategy, getConfigObjects, getCurrentBuildStrategy, getCurrentStatus, getCustomConfiguration, getDefaultBuildDefinition, getDescription, getFieldValueItems, getFirstBuildNumber, getId, getKey, getLabellings, getLastBuildNumber, getLastBuildStartTime, getLastVcsRevisionKey, getLatestResultsSummary, getName, getNextBuildNumber, getNextBuildResults, getNotificationSet, getNumberOfConcurrentlyRunningBuilds, getPlan, getPlanKey, getPlans, getPollingPeriod, getPreviousBuildResults, getProject, getRelatedLabellings, getRepository, getRepositoryV2, getRequirementSet, getSourceCodeDirectory, getTaskDefinitions, getTestClasses, getTopLevelPlans, getType, getWebRepositoryViewer, getXmlData, getXmppMessageSender, hasBuildResults, hashCode, hasTests, isActive, isBusy, isExecuting, isInBuildQueue, isInheritRepository, isMarkedForDeletion, isMarkedForEditBuild, isMarkedForManualBuild, isSuspendedFromBuilding, markAsNeedingBuilding, markForDeletion, removeBuildResultSummary, save, setBuildChangedEmails, setBuildDefinition, setBuildDefinitionXml, setBuilder, setBuilderManager, setBuildKey, setBuildName, setBuildResultsSummaryManager, setBuildResultSummaries, setBuildStrategy, setConfigObjects, setCustomConfiguration, setDescription, setFieldValueItems, setFirstBuildNumber, setId, setInBuildQueue, setInheritRepository, setKey, setLabellings, setLastBuildNumber, setLastBuildStartTime, setLastVcsRevisionKey, setMarkedForDeletion, setName, setNextBuildNumber, setNotificationSet, setPlan, setPollingPeriod, setProject, setRepository, setRequirementSet, setSuspendedFromBuilding, setTaskDefinitions, 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 Buildable
- 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 Buildable
- Overrides:
getBuildResultSummaries
in class BuildObjectForTests
- Returns:
- The collection of build summary objects
getNumberOfBuildSummaries
public long getNumberOfBuildSummaries()
- Overrides:
getNumberOfBuildSummaries
in class BuildObjectForTests
getLatestBuildSummary
public BuildResultsSummary getLatestBuildSummary()
- Description copied from class:
BuildObjectForTests
- Get the summary from the latest build
- Specified by:
getLatestBuildSummary
in interface Buildable
- 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:
Buildable
- Get the first build result
- Specified by:
getFirstBuildSummary
in interface Buildable
- Overrides:
getFirstBuildSummary
in class BuildObjectForTests
- Returns:
- result
Copyright © 2011 Atlassian. All Rights Reserved.