@PublicApi public interface Plan extends BambooObjectWithOid, Describable, Deletable, ImmutablePlan
MAX_NUMBER_LOG_ENTRIES, MAX_PREVIOUS_BUILD_FOR_AVE, STATUS_CURRENTLY_BUILDING, STATUS_FAIL, STATUS_NO_BUILDS, STATUS_NOT_RUN, STATUS_SUCCESS
getPlanKeyFunction
getPlanKey
Modifier and Type | Method and Description |
---|---|
BuildDefinitionForBuild |
getBuildDefinitionXml() |
List<Labelling> |
getLabellings()
Deprecated.
3.4
|
ResultsSummary |
getLatestResultsSummary()
Get the latest finished result
|
List<Labelling> |
getRelatedLabellings()
Returns labellings that are applicable for the plan level
|
void |
setBuildDefinitionXml(BuildDefinitionForBuild buildDefinitionXml) |
void |
setBuildKey(String buildKey)
Define the build's unique key (uppercase alphanumeric)
|
void |
setBuildName(String buildName) |
void |
setKey(String fullKey) |
void |
setLabellings(List<Labelling> labellings) |
void |
setMaster(Plan master)
Set which plan is the master of this plan.
|
void |
setPlanKey(PlanKey planKey) |
void |
setProject(Project project) |
void |
setSuspendedFromBuilding(boolean suspendFromBuilding)
Sets the build to suspend temporarily
|
setOid
getEntityType, getOid
setDescription, setName
setMarkedForDeletion
setId
isMarkedForDeletion
getAverageBuildDuration, getBuildDefinition, getBuildLogger, getCurrentStatus, getEffectiveVariables, getFirstBuildNumber, getKey, getLabelNames, getLastBuildNumber, getMaster, getProject, getType, getVariables, hasMaster, isActive, isBusy, isExecuting, isMarkedForDeletion
getBuildKey, getBuildName, getId, getMasterId, getName, getPlanKey, getPlanType, isSuspendedFromBuilding
getDescription
void setKey(String fullKey)
fullKey
- void setPlanKey(@NotNull PlanKey planKey)
void setBuildKey(String buildKey)
buildKey
- The value of the keyvoid setBuildName(String buildName)
void setSuspendedFromBuilding(boolean suspendFromBuilding)
suspendFromBuilding
- @Nullable BuildDefinitionForBuild getBuildDefinitionXml()
void setBuildDefinitionXml(@Nullable BuildDefinitionForBuild buildDefinitionXml)
void setMaster(Plan master)
master
- void setProject(Project project)
@Nullable ResultsSummary getLatestResultsSummary()
ImmutablePlan
getLatestResultsSummary
in interface ImmutablePlan
@NotNull List<Labelling> getRelatedLabellings()
@NotNull @Deprecated List<Labelling> getLabellings()
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.