@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_SUCCESSgetPlanKeyFunctiongetPlanKey| 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
|
setOidgetEntityType, getOidsetDescription, setNamesetMarkedForDeletionsetIdisMarkedForDeletiongetAverageBuildDuration, getBuildDefinition, getBuildLogger, getCurrentStatus, getEffectiveVariables, getFirstBuildNumber, getKey, getLabelNames, getLastBuildNumber, getMaster, getProject, getType, getVariables, hasMaster, isActive, isBusy, isExecuting, isMarkedForDeletiongetBuildKey, getBuildName, getId, getMasterId, getName, getPlanKey, getPlanType, isSuspendedFromBuildinggetDescriptionvoid 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()
ImmutablePlangetLatestResultsSummary in interface ImmutablePlan@NotNull List<Labelling> getRelatedLabellings()
@NotNull @Deprecated List<Labelling> getLabellings()
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.