public interface BuildIdentifier extends Serializable
| Modifier and Type | Method and Description |
|---|---|
int |
getBuildNumber()
The build number being built
|
String |
getBuildResultKey()
Deprecated.
since 6.0 use
getPlanResultKey() instead |
Optional<Long> |
getMasterPlanId() |
BuildIdentifier |
getParentBuildIdentifier() |
Optional<Long> |
getPlanDbId() |
long |
getPlanId()
Deprecated.
since 6.9 use
getPlanDbId() |
String |
getPlanKey()
Deprecated.
since 5.11, use
getTypedPlanKey() instead |
String |
getPlanName()
The full name of the
Plan |
PlanResultKey |
getPlanResultKey()
Gets the
PlanResultKey for the current BuildIdentifier |
String |
getProjectName() |
String |
getShortName()
The short name of the
Plan |
PlanKey |
getTypedPlanKey()
Full plan key (e.g.
|
@Nullable BuildIdentifier getParentBuildIdentifier()
BuildContext of the parent Plan execution. Should return null if the current BuildContext is for a Chain@Deprecated long getPlanId()
getPlanDbId()IllegalStateException - if N/AOptional<Long> getMasterPlanId()
@NotNull @Deprecated String getPlanKey()
getTypedPlanKey() instead@NotNull PlanKey getTypedPlanKey()
@NotNull String getPlanName()
PlanDescriptionProvider.getName()@NotNull String getShortName()
PlanPlanIdentifier.getBuildName()int getBuildNumber()
@NotNull @Deprecated String getBuildResultKey()
getPlanResultKey() instead@NotNull PlanResultKey getPlanResultKey()
PlanResultKey for the current BuildIdentifier@NotNull String getProjectName()
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.