Package com.atlassian.bamboo.plan
Class PlanResultKey
- java.lang.Object
-
- com.atlassian.bamboo.plan.PlanResultKey
-
- All Implemented Interfaces:
Key
,ResultKey
,Serializable
- Direct Known Subclasses:
DeploymentResultKeyAsPlanResultKey
@Immutable @PublicApi public class PlanResultKey extends Object implements ResultKey, Serializable
Identifier for result objects such asChainResultsSummary
andBuildResultsSummary
Can be created fromPlanKeys
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
int
getBuildNumber()
The build number being built@NotNull Key
getEntityKey()
What is this a result of.@NotNull String
getKey()
Full build result key (e.g.@NotNull PlanKey
getPlanKey()
Returns the key component of thisPlanResultKey
int
getResultNumber()
long
getResultNumberLong()
int
hashCode()
String
toString()
-
-
-
Method Detail
-
getPlanKey
@NotNull public @NotNull PlanKey getPlanKey()
Returns the key component of thisPlanResultKey
- Returns:
- planKey
-
getEntityKey
@NotNull public @NotNull Key getEntityKey()
Description copied from interface:ResultKey
What is this a result of.- Specified by:
getEntityKey
in interfaceResultKey
- Returns:
-
getBuildNumber
public int getBuildNumber()
The build number being built- Returns:
- int
-
getResultNumber
public int getResultNumber()
- Specified by:
getResultNumber
in interfaceResultKey
- Returns:
- Result number
-
getResultNumberLong
public long getResultNumberLong()
- Specified by:
getResultNumberLong
in interfaceResultKey
- Returns:
- Result number
-
getKey
@NotNull public @NotNull String getKey()
Full build result key (e.g. BAM-MAIN-100)
-
-