Package com.atlassian.bamboo.plan
Class PlanResultKey
java.lang.Object
com.atlassian.bamboo.plan.PlanResultKey
- All Implemented Interfaces:
Key,ResultKey,Serializable
@Immutable
@PublicApi
public final class PlanResultKey
extends Object
implements ResultKey, Serializable
Identifier for result objects such as
ChainResultsSummary and BuildResultsSummary
Can be created from PlanKeys- See Also:
-
Method Details
-
getPlanKey
Returns the key component of thisPlanResultKey- Returns:
- planKey
-
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
Full build result key (e.g. BAM-MAIN-100) -
equals
-
hashCode
public int hashCode() -
toString
-