Package com.atlassian.bamboo.plan.cache
Class PlanBranchGist
java.lang.Object
com.atlassian.bamboo.plan.cache.PlanBranchGist
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionPlanBranchGist
(long id, PlanKey key, String buildName, boolean suspendedFromBuilding, PlanBranchWorkflow planBranchWorkflow, boolean divergent) -
Method Summary
Modifier and TypeMethodDescriptionboolean
long
getId()
getKey()
int
hashCode()
static PlanBranchGist
identifierFor
(PlanKey planKey) The plan key is enough to have equals and hashCode.boolean
boolean
-
Constructor Details
-
PlanBranchGist
public PlanBranchGist(long id, PlanKey key, String buildName, boolean suspendedFromBuilding, PlanBranchWorkflow planBranchWorkflow, boolean divergent)
-
-
Method Details
-
getId
public long getId() -
getKey
-
getBuildName
-
isSuspendedFromBuilding
public boolean isSuspendedFromBuilding() -
getPlanBranchWorkflow
-
isDivergent
public boolean isDivergent() -
equals
-
hashCode
public int hashCode() -
identifierFor
The plan key is enough to have equals and hashCode. This should only be used for searching in collections.
-