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 intcompareTo(PlanKey planKey)booleanequals(Object o)@NotNull StringgetKey()Full plan key (e.g.@NotNull StringgetPartialKey()Partial plan key (e.g.inthashCode()StringtoString()
-
-
-
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:
compareToin interfaceComparable<PlanKey>
-
-