com.atlassian.bamboo.plan
Class PlanKey

java.lang.Object
  extended by com.atlassian.bamboo.plan.PlanKey
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<PlanKey>

public final class PlanKey
extends java.lang.Object
implements java.io.Serializable, java.lang.Comparable<PlanKey>

Identifier for Plan PlanKeys can be created via PlanKeys

See Also:
Serialized Form

Method Summary
 int compareTo(PlanKey planKey)
           
 boolean equals(java.lang.Object o)
           
 java.lang.String getKey()
          Full plan key (e.g.
 java.lang.String getPartialKey()
          Full plan key (e.g.
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getKey

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

Returns:
Key for the plan BAM-MAIN @NotNull

getPartialKey

@NotNull
public java.lang.String getPartialKey()
Full plan key (e.g. MAIN for BAM-MAIN)

Returns:
Partial key for the plan

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

compareTo

public int compareTo(PlanKey planKey)
Specified by:
compareTo in interface java.lang.Comparable<PlanKey>

toString

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


Copyright © 2012 Atlassian. All Rights Reserved.