Package com.atlassian.bamboo.plan.cache
Class PlanBranchGist
java.lang.Object
com.atlassian.bamboo.plan.cache.PlanBranchGist
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionPlanBranchGist(long id, PlanKey key, String buildName, boolean suspendedFromBuilding, PlanBranchWorkflow planBranchWorkflow, boolean divergent) -
Method Summary
Modifier and TypeMethodDescriptionbooleanlonggetId()getKey()inthashCode()static PlanBranchGistidentifierFor(PlanKey planKey) The plan key is enough to have equals and hashCode.booleanboolean
-
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.
-