public interface BuildIdentifier extends Serializable
Modifier and Type | Method and Description |
---|---|
int |
getBuildNumber()
The build number being built
|
@NotNull String |
getBuildResultKey()
Deprecated.
since 6.0 use
getPlanResultKey() instead |
Optional<Long> |
getMasterPlanId() |
@Nullable BuildIdentifier |
getParentBuildIdentifier() |
Optional<Long> |
getPlanDbId() |
long |
getPlanId()
Deprecated.
since 6.9 use
getPlanDbId() |
@NotNull String |
getPlanKey()
Deprecated.
since 5.11, use
getTypedPlanKey() instead |
@NotNull String |
getPlanName()
The full name of the
Plan |
@NotNull PlanResultKey |
getPlanResultKey()
Gets the
PlanResultKey for the current BuildIdentifier |
@NotNull String |
getProjectName() |
@NotNull String |
getShortName()
The short name of the
Plan |
@NotNull PlanKey |
getTypedPlanKey()
Full plan key (e.g.
|
@NotNull UUID |
getUuid()
Id of the run.
|
@Nullable @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 @NotNull String getPlanKey()
getTypedPlanKey()
instead@NotNull @NotNull PlanKey getTypedPlanKey()
@NotNull @NotNull String getPlanName()
Plan
DescriptionProvider.getName()
@NotNull @NotNull String getShortName()
Plan
PlanIdentifier.getBuildName()
int getBuildNumber()
@NotNull @Deprecated @NotNull String getBuildResultKey()
getPlanResultKey()
instead@NotNull @NotNull PlanResultKey getPlanResultKey()
PlanResultKey
for the current BuildIdentifier
@NotNull @NotNull String getProjectName()
@NotNull @NotNull UUID getUuid()
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.
View cookie preferences