@Immutable public class BuildIdentifierImpl extends Object implements BuildIdentifier
Constructor and Description |
---|
BuildIdentifierImpl(BuildIdentifier buildIdentifier) |
BuildIdentifierImpl(long planId,
String planKey,
String projectName,
String planName,
String shortName,
int buildNumber) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getBuildNumber()
The build number being built
|
String |
getBuildResultKey()
Full build result key (e.g.
|
BuildIdentifier |
getParentBuildIdentifier() |
long |
getPlanId() |
String |
getPlanKey()
Full plan key (e.g.
|
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.
|
int |
hashCode() |
public BuildIdentifierImpl(@NotNull BuildIdentifier buildIdentifier)
public BuildIdentifier getParentBuildIdentifier()
getParentBuildIdentifier
in interface BuildIdentifier
BuildContext
of the parent Plan
execution. Should return null if the current BuildContext
is for a TopLevelPlan
public long getPlanId()
getPlanId
in interface BuildIdentifier
@NotNull public String getPlanKey()
BuildIdentifier
getPlanKey
in interface BuildIdentifier
@NotNull public PlanKey getTypedPlanKey()
BuildIdentifier
getTypedPlanKey
in interface BuildIdentifier
@NotNull public String getPlanName()
BuildIdentifier
Plan
getPlanName
in interface BuildIdentifier
DescriptionProvider.getName()
@NotNull public String getShortName()
BuildIdentifier
Plan
getShortName
in interface BuildIdentifier
PlanIdentifier.getBuildName()
public int getBuildNumber()
BuildIdentifier
getBuildNumber
in interface BuildIdentifier
@NotNull public String getBuildResultKey()
BuildIdentifier
getBuildResultKey
in interface BuildIdentifier
@NotNull public PlanResultKey getPlanResultKey()
BuildIdentifier
PlanResultKey
for the current BuildIdentifier
getPlanResultKey
in interface BuildIdentifier
@NotNull public String getProjectName()
getProjectName
in interface BuildIdentifier
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.