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