public class DivergentBranchDataBean extends Object
Modifier and Type | Class and Description |
---|---|
static class |
DivergentBranchDataBean.CreationData |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
static DivergentBranchDataBean |
forCreation(ImmutableChain immutableChain,
PlanKey planBranchKey,
PlanBranchWorkflow planBranchWorkflow,
PlanCreationService.EnablePlan enablePlan) |
static DivergentBranchDataBean |
forUpdate(ImmutableChain immutableChain,
PlanKey planBranchKey) |
Optional<DivergentBranchDataBean.CreationData> |
getCreationData() |
ImmutableChain |
getImmutableChain() |
PlanKey |
getPlanBranchKey() |
int |
hashCode() |
boolean |
isCreation() |
public static DivergentBranchDataBean forCreation(@NotNull ImmutableChain immutableChain, @NotNull PlanKey planBranchKey, @NotNull PlanBranchWorkflow planBranchWorkflow, @NotNull PlanCreationService.EnablePlan enablePlan)
immutableChain
- chain for which plan branch should be createdplanBranchKey
- key of new plan branchplanBranchWorkflow
- public static DivergentBranchDataBean forUpdate(@NotNull ImmutableChain immutableChain, @NotNull PlanKey planBranchKey)
immutableChain
- chain for which plan branch should be updatedplanBranchKey
- key of new plan branchpublic boolean isCreation()
@NotNull public Optional<DivergentBranchDataBean.CreationData> getCreationData()
@NotNull public ImmutableChain getImmutableChain()
@NotNull public PlanKey getPlanBranchKey()
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.