@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
NAME_DELIMITER
getPlanKey
Modifier and Type | Method and Description |
---|---|
@Nullable BuildDefinitionForBuild |
getBuildDefinitionXml() |
@NotNull List<Labelling> |
getLabellings()
Deprecated.
3.4
|
@Nullable ResultsSummary |
getLatestResultsSummary()
Get the latest finished result
|
@NotNull List<Labelling> |
getRelatedLabellings()
Returns labellings that are applicable for the plan level
|
void |
setBuildDefinitionXml(@Nullable 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(@NotNull PlanKey planKey) |
void |
setProject(Project project) |
void |
setSuspendedFromBuilding(boolean suspendFromBuilding)
Sets the build to suspend temporarily
|
setOid
getEntityType, getOid
setDescription, setName
setMarkedForDeletion
setId
getAverageBuildDuration, getBuildDefinition, getBuildLogger, getCurrentStatus, getEffectiveVariables, getFirstBuildNumber, getKey, getLabelNames, getLastBuildNumber, getMaster, getProject, getType, getVariables, hasMaster, isActive, isBusy, isExecuting, isMarkedForDeletion
getBuildKey, getBuildName, getDatabaseId, getId, getMasterId, getMasterIdIfExists, getName, getPlanKey, getPlanType, isSuspendedFromBuilding
getDescription
void setKey(String fullKey)
fullKey
- void setPlanKey(@NotNull @NotNull PlanKey planKey)
void setBuildKey(String buildKey)
buildKey
- The value of the keyvoid setBuildName(String buildName)
void setSuspendedFromBuilding(boolean suspendFromBuilding)
suspendFromBuilding
- @Nullable @Nullable BuildDefinitionForBuild getBuildDefinitionXml()
void setBuildDefinitionXml(@Nullable @Nullable BuildDefinitionForBuild buildDefinitionXml)
void setMaster(Plan master)
master
- void setProject(Project project)
@Nullable @Nullable ResultsSummary getLatestResultsSummary()
ImmutablePlan
getLatestResultsSummary
in interface ImmutablePlan
@NotNull @NotNull List<Labelling> getRelatedLabellings()
@NotNull @Deprecated @NotNull List<Labelling> getLabellings()
Copyright © 2023 Atlassian Software Systems Pty Ltd. All rights reserved.