Package com.atlassian.bamboo.plan
Class PlanKey
- java.lang.Object
-
- com.atlassian.bamboo.plan.PlanKey
-
- All Implemented Interfaces:
Key
,Serializable
,Comparable<PlanKey>
@Immutable @PublicApi public final class PlanKey extends Object implements Comparable<PlanKey>, Key
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(PlanKey planKey)
boolean
equals(Object o)
@NotNull String
getKey()
Full plan key (e.g.@NotNull String
getPartialKey()
Partial plan key (e.g.int
hashCode()
String
toString()
-
-
-
Method Detail
-
getKey
@NotNull public @NotNull String getKey()
Full plan key (e.g. BAM-MAIN)
-
getPartialKey
@NotNull public @NotNull String getPartialKey()
Partial plan key (e.g. MAIN for BAM-MAIN)- Returns:
- Partial key for the plan
-
compareTo
public int compareTo(PlanKey planKey)
- Specified by:
compareTo
in interfaceComparable<PlanKey>
-
-