public interface PlanIdentifier extends BambooIdProvider, DescriptionProvider, PlanKeyProvider
Modifier and Type | Field and Description |
---|---|
static String |
NAME_DELIMITER |
getPlanKey
Modifier and Type | Method and Description |
---|---|
@NotNull String |
getBuildKey()
This objects specific portion of the key.
|
@NotNull String |
getBuildName() |
@NotNull Optional<Long> |
getDatabaseId() |
long |
getId()
Returns database id of the plan.
|
long |
getMasterId()
Deprecated.
since 6.9 use
getMasterIdIfExists() instead |
@NotNull Optional<Long> |
getMasterIdIfExists() |
@NotNull String |
getName()
Returns the full name for the build in the form of "project name - build name" e.g.
|
@NotNull PlanKey |
getPlanKey()
|
@NotNull PlanType |
getPlanType() |
@NotNull ProjectIdentifier |
getProject()
Returns the parent
Project |
boolean |
isSuspendedFromBuilding()
Checks if the build has been enabled / disabled.
|
getDescription
static final String NAME_DELIMITER
long getId()
getDatabaseId()
should be preferred.getId
in interface BambooIdProvider
IllegalStateException
- if this plan is not a DB object.@NotNull @NotNull Optional<Long> getDatabaseId()
@Deprecated long getMasterId()
getMasterIdIfExists()
instead@NotNull @NotNull Optional<Long> getMasterIdIfExists()
@NotNull @NotNull PlanType getPlanType()
@NotNull @NotNull PlanKey getPlanKey()
getPlanKey
in interface PlanKeyProvider
@NotNull @NotNull String getBuildKey()
getPlanKey()
.@NotNull @NotNull String getName()
getName
in interface DescriptionProvider
getName
in interface NameProvider
@NotNull @NotNull String getBuildName()
getName()
boolean isSuspendedFromBuilding()
@NotNull @NotNull ProjectIdentifier getProject()
Project
Project
. Never nullCopyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.