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
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.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 |
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.