com.atlassian.bamboo.plan
Class PlanResultKey

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

public final class PlanResultKey
extends java.lang.Object
implements 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
 java.lang.String getKey()
          Full build result key (e.g.
 PlanKey getPlanKey()
          Returns the key component of this PlanResultKey
 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

getBuildNumber

public int getBuildNumber()
The build number being built

Returns:
int

getKey

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

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 © 2012 Atlassian. All Rights Reserved.