Package com.atlassian.bamboo.plan.cache
Class PlanBranchGist
- java.lang.Object
-
- com.atlassian.bamboo.plan.cache.PlanBranchGist
-
@Internal public class PlanBranchGist extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PlanBranchGist.PlanNameCaseInsensitiveComparator
-
Constructor Summary
Constructors Constructor Description PlanBranchGist(long id, PlanKey key, String buildName, boolean suspendedFromBuilding, PlanBranchWorkflow planBranchWorkflow, boolean divergent)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
String
getBuildName()
long
getId()
PlanKey
getKey()
PlanBranchWorkflow
getPlanBranchWorkflow()
int
hashCode()
static PlanBranchGist
identifierFor(PlanKey planKey)
The plan key is enough to have equals and hashCode.boolean
isDivergent()
boolean
isSuspendedFromBuilding()
-
-
-
Constructor Detail
-
PlanBranchGist
public PlanBranchGist(long id, PlanKey key, String buildName, boolean suspendedFromBuilding, PlanBranchWorkflow planBranchWorkflow, boolean divergent)
-
-
Method Detail
-
getId
public long getId()
-
getKey
public PlanKey getKey()
-
getBuildName
public String getBuildName()
-
isSuspendedFromBuilding
public boolean isSuspendedFromBuilding()
-
getPlanBranchWorkflow
public PlanBranchWorkflow getPlanBranchWorkflow()
-
isDivergent
public boolean isDivergent()
-
identifierFor
public static PlanBranchGist identifierFor(PlanKey planKey)
The plan key is enough to have equals and hashCode. This should only be used for searching in collections.
-
-