com.atlassian.bamboo.build
Interface Buildable

All Superinterfaces:
BambooIdProvider, BambooObject, Deletable, Describable, DescriptionProvider, ImmutableDeletable, ImmutablePlan, NameProvider, Plan, PlanIdentifier
All Known Subinterfaces:
Job
All Known Implementing Classes:
BuildObjectForTests, DefaultJob, ImmutableJobImpl, TestBuildObjectForTests

public interface Buildable
extends Plan


Field Summary
 
Fields inherited from interface com.atlassian.bamboo.plan.cache.ImmutablePlan
MAX_NUMBER_LOG_ENTRIES, MAX_PREVIOUS_BUILD_FOR_AVE, STATUS_CURRENTLY_BUILDING, STATUS_FAIL, STATUS_NO_BUILDS, STATUS_NOT_RUN, STATUS_SUCCESS
 
Method Summary
 void addBuildResultSummary(BuildResultsSummary buildResultsSummary)
          Deprecated. since 4.0 ResultsSummaryManager.createResultsSummary(BuildContext, Class).
 java.util.List<BuildResultsSummary> getBuildResultSummaries()
          Deprecated. since 4.0 Use ResultsSummaryManager's finds methods instead
 RequirementSet getEffectiveRequirementSet()
          Return effective value of RequirementSet, that is value that is considered when checking which agents and elastic images can build this Buildable.
 BuildResultsSummary getFirstBuildSummary()
          Deprecated. since 4.0 Use ImmutablePlan.getFirstBuildNumber()
 BuildResultsSummary getLatestBuildSummary()
          Deprecated. since 4.0 Use ImmutablePlan.getLatestResultsSummary()} and Narrow.to() to BuildResultsSummary as required
 BuildResults getNextBuildResults(int buildNumber)
          Deprecated. since 4.0 ResultsSummaryManager.getNeighbouringSummaries(ImmutablePlan, int, int) instead
 int getNumberOfConcurrentlyRunningBuilds()
          Deprecated. since 4.0 BuildExecutionManager.getCurrentlyExecutingBuilds(String)
 BuildResults getPreviousBuildResults(int buildNumber)
          Deprecated. since 4.0 ResultsSummaryManager.getNeighbouringSummaries(ImmutablePlan, int, int) instead
 RequirementSet getRequirementSet()
           
 boolean hasBuildResults()
          Deprecated. since 4.0 Use ImmutablePlan.getLatestResultsSummary()
 void removeBuildResultSummary(int buildNumber)
          Deprecated. since 4.0 Use ResultsSummaryManager.removeResultSummary(Plan, int)
 void setRequirementSet(RequirementSet requirementSet)
           
 
Methods inherited from interface com.atlassian.bamboo.plan.Plan
getLabellings, getRelatedLabellings, setBuildDefinitionXml, setBuildKey, setBuildName, setFirstBuildNumber, setKey, setLabellings, setLastBuildNumber, setMaster, setNextBuildNumber, setPlanKey, setProject, setSuspendedFromBuilding, validateBuild
 
Methods inherited from interface com.atlassian.bamboo.Describable
setDescription, setName
 
Methods inherited from interface com.atlassian.bamboo.deletion.Deletable
setMarkedForDeletion
 
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
 
Methods inherited from interface com.atlassian.bamboo.plan.cache.ImmutableDeletable
isMarkedForDeletion
 
Methods inherited from interface com.atlassian.bamboo.plan.cache.ImmutablePlan
getAverageBuildDuration, getBuildDefinition, getBuildDefinitionXml, getBuildLogger, getCurrentStatus, getEffectiveVariables, getFirstBuildNumber, getKey, getLabelNames, getLastBuildNumber, getLatestResultsSummary, getMaster, getNextBuildNumber, getProject, getType, getVariables, hasMaster, hasTests, isActive, isBusy, isExecuting, isMarkedForDeletion
 
Methods inherited from interface com.atlassian.bamboo.plan.PlanIdentifier
getBuildKey, getBuildName, getId, getName, getPlanKey, getPlanType, isSuspendedFromBuilding
 
Methods inherited from interface com.atlassian.bamboo.utils.DescriptionProvider
getDescription
 

Method Detail

getRequirementSet

@NotNull
RequirementSet getRequirementSet()

getEffectiveRequirementSet

@NotNull
RequirementSet getEffectiveRequirementSet()
Return effective value of RequirementSet, that is value that is considered when checking which agents and elastic images can build this Buildable.

Returns:
the same as getRequirementSet() if ImmutablePlan.hasMaster() is false, getMaster().getRequirementSet() otherwise.

setRequirementSet

void setRequirementSet(RequirementSet requirementSet)

getNumberOfConcurrentlyRunningBuilds

@Deprecated
int getNumberOfConcurrentlyRunningBuilds()
Deprecated. since 4.0 BuildExecutionManager.getCurrentlyExecutingBuilds(String)


getPreviousBuildResults

@Deprecated
@Nullable
BuildResults getPreviousBuildResults(int buildNumber)
Deprecated. since 4.0 ResultsSummaryManager.getNeighbouringSummaries(ImmutablePlan, int, int) instead


getNextBuildResults

@Deprecated
@Nullable
BuildResults getNextBuildResults(int buildNumber)
Deprecated. since 4.0 ResultsSummaryManager.getNeighbouringSummaries(ImmutablePlan, int, int) instead


addBuildResultSummary

@Deprecated
void addBuildResultSummary(BuildResultsSummary buildResultsSummary)
Deprecated. since 4.0 ResultsSummaryManager.createResultsSummary(BuildContext, Class).


removeBuildResultSummary

@Deprecated
void removeBuildResultSummary(int buildNumber)
Deprecated. since 4.0 Use ResultsSummaryManager.removeResultSummary(Plan, int)


getLatestBuildSummary

@Deprecated
@Nullable
BuildResultsSummary getLatestBuildSummary()
Deprecated. since 4.0 Use ImmutablePlan.getLatestResultsSummary()} and Narrow.to() to BuildResultsSummary as required


getBuildResultSummaries

@Deprecated
java.util.List<BuildResultsSummary> getBuildResultSummaries()
Deprecated. since 4.0 Use ResultsSummaryManager's finds methods instead


getFirstBuildSummary

@Deprecated
BuildResultsSummary getFirstBuildSummary()
Deprecated. since 4.0 Use ImmutablePlan.getFirstBuildNumber()


hasBuildResults

@Deprecated
boolean hasBuildResults()
Deprecated. since 4.0 Use ImmutablePlan.getLatestResultsSummary()



Copyright © 2012 Atlassian. All Rights Reserved.