Package com.atlassian.bamboo.plan
Interface Plan
- All Superinterfaces:
BambooIdProvider
,BambooObject
,BambooObjectWithOid
,Deletable
,Describable
,DescriptionProvider
,EntityWithOid
,ImmutableDeletable
,ImmutableEntityWithOid
,ImmutablePlan
,NameProvider
,PlanIdentifier
,PlanKeyProvider
,Versionable
- All Known Subinterfaces:
Buildable
,Chain
,ChainBranch
,Job
,TopLevelPlan
- All Known Implementing Classes:
AbstractChain
,AbstractPlan
,ChainBranchImpl
,DefaultChain
,DefaultJob
Mutable version of the plan.
-
Field Summary
Fields inherited from interface com.atlassian.bamboo.plan.cache.ImmutablePlan
MAX_PREVIOUS_BUILD_FOR_AVE, STATUS_CURRENTLY_BUILDING, STATUS_FAIL, STATUS_NO_BUILDS, STATUS_NOT_RUN, STATUS_SUCCESS
Fields inherited from interface com.atlassian.bamboo.plan.PlanIdentifier
NAME_DELIMITER
Fields inherited from interface com.atlassian.bamboo.plan.PlanKeyProvider
getPlanKey
-
Method Summary
Modifier and TypeMethodDescription@Nullable BuildDefinitionForBuild
Deprecated.3.4@Nullable ResultsSummary
Get the latest finished resultReturns labellings that are applicable for the plan levelvoid
setBuildDefinitionXml
(@Nullable BuildDefinitionForBuild buildDefinitionXml) void
setBuildKey
(String buildKey) Define the build's unique key (uppercase alphanumeric)void
setBuildName
(String buildName) void
void
setLabellings
(List<Labelling> labellings) void
Set which plan is the master of this plan.void
setPlanKey
(@NotNull PlanKey planKey) void
setProject
(Project project) void
setSuspendedFromBuilding
(boolean suspendFromBuilding) Sets the build to suspend temporarilyMethods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
Methods inherited from interface com.atlassian.bamboo.deletion.Deletable
setMarkedForDeletion
Methods inherited from interface com.atlassian.bamboo.Describable
setDescription, setName
Methods inherited from interface com.atlassian.bamboo.utils.DescriptionProvider
getDescription
Methods inherited from interface com.atlassian.bamboo.core.EntityWithOid
setOid
Methods inherited from interface com.atlassian.bamboo.core.ImmutableEntityWithOid
getEntityType, getOid
Methods inherited from interface com.atlassian.bamboo.plan.cache.ImmutablePlan
getAverageBuildDuration, getBuildDefinition, getBuildLogger, getCurrentStatus, getEffectiveVariables, getFirstBuildNumber, getKey, getLabelNames, getLastBuildNumber, getMaster, getProject, getType, getVariables, hasMaster, isActive, isBusy, isExecuting, isMarkedForDeletion
Methods inherited from interface com.atlassian.bamboo.plan.PlanIdentifier
getBuildKey, getBuildName, getDatabaseId, getId, getMasterId, getMasterIdIfExists, getName, getPlanKey, getPlanType, isSuspendedFromBuilding
Methods inherited from interface com.atlassian.bamboo.versioning.Versionable
getVersion
-
Method Details
-
setKey
- Parameters:
fullKey
-
-
setPlanKey
-
setBuildKey
Define the build's unique key (uppercase alphanumeric)- Parameters:
buildKey
- The value of the key
-
setBuildName
-
setSuspendedFromBuilding
void setSuspendedFromBuilding(boolean suspendFromBuilding) Sets the build to suspend temporarily- Parameters:
suspendFromBuilding
-
-
getBuildDefinitionXml
-
setBuildDefinitionXml
-
setMaster
Set which plan is the master of this plan. The master is the plan which this one is derived from. Configuration is pulled from the master if one exists.- Parameters:
master
-
-
setProject
-
getLatestResultsSummary
Description copied from interface:ImmutablePlan
Get the latest finished result- Specified by:
getLatestResultsSummary
in interfaceImmutablePlan
- Returns:
- The summary info for the last completed build. Returns null if there are no build results for this plan
-
setLabellings
-
getRelatedLabellings
Returns labellings that are applicable for the plan level- Returns:
- Empty list if no labels
-
getLabellings
Deprecated.3.4Used only for Hibernate mapping purposes. Deprecated for removal from the interface- Returns:
-