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 asChainResultsSummaryandBuildResultsSummaryCan be created fromPlanKeys- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)intgetBuildNumber()The build number being built@NotNull KeygetEntityKey()What is this a result of.@NotNull StringgetKey()Full build result key (e.g.@NotNull PlanKeygetPlanKey()Returns the key component of thisPlanResultKeyintgetResultNumber()longgetResultNumberLong()inthashCode()StringtoString()
-
-
-
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:ResultKeyWhat is this a result of.- Specified by:
getEntityKeyin interfaceResultKey- Returns:
-
getBuildNumber
public int getBuildNumber()
The build number being built- Returns:
- int
-
getResultNumber
public int getResultNumber()
- Specified by:
getResultNumberin interfaceResultKey- Returns:
- Result number
-
getResultNumberLong
public long getResultNumberLong()
- Specified by:
getResultNumberLongin interfaceResultKey- Returns:
- Result number
-
getKey
@NotNull public @NotNull String getKey()
Full build result key (e.g. BAM-MAIN-100)
-
-