com.atlassian.bamboo.plan
Class PlanResultKey

java.lang.Object
  extended by com.atlassian.bamboo.plan.PlanResultKey
All Implemented Interfaces:
ResultKey, java.io.Serializable

public final class PlanResultKey
extends java.lang.Object
implements ResultKey, java.io.Serializable

Identifier for result objects such as ChainResultsSummary and BuildResultsSummary Can be created from PlanKeys

See Also:
Serialized Form

Method Summary
 boolean equals(java.lang.Object o)
           
 int getBuildNumber()
          The build number being built
 Key getEntityKey()
          What is this a result of.
 java.lang.String getKey()
          Full build result key (e.g.
 PlanKey getPlanKey()
          Returns the key component of this PlanResultKey
 int getResultNumber()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getPlanKey

@NotNull
public PlanKey getPlanKey()
Returns the key component of this PlanResultKey

Returns:
planKey

getEntityKey

@NotNull
public Key getEntityKey()
Description copied from interface: ResultKey
What is this a result of.

Specified by:
getEntityKey in interface ResultKey
Returns:

getBuildNumber

public int getBuildNumber()
The build number being built

Returns:
int

getResultNumber

public int getResultNumber()
Specified by:
getResultNumber in interface ResultKey
Returns:
Result number

getKey

@NotNull
public java.lang.String getKey()
Full build result key (e.g. BAM-MAIN-100)

Specified by:
getKey in interface ResultKey
Returns:
Key for build result @NotNull

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.