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(@NotNull ImmutableChain immutableChain,
@NotNull PlanKey planBranchKey,
@NotNull PlanBranchWorkflow planBranchWorkflow,
PlanCreationService.EnablePlan enablePlan) |
static DivergentBranchDataBean |
forUpdate(@NotNull ImmutableChain immutableChain,
@NotNull PlanKey planBranchKey) |
@NotNull Optional<DivergentBranchDataBean.CreationData> |
getCreationData() |
@NotNull ImmutableChain |
getImmutableChain() |
@NotNull PlanKey |
getPlanBranchKey() |
int |
hashCode() |
boolean |
isCreation() |
public static DivergentBranchDataBean forCreation(@NotNull @NotNull ImmutableChain immutableChain, @NotNull @NotNull PlanKey planBranchKey, @NotNull @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 @NotNull ImmutableChain immutableChain, @NotNull @NotNull PlanKey planBranchKey)
immutableChain
- chain for which plan branch should be updatedplanBranchKey
- key of new plan branchpublic boolean isCreation()
@NotNull public @NotNull Optional<DivergentBranchDataBean.CreationData> getCreationData()
@NotNull public @NotNull ImmutableChain getImmutableChain()
@NotNull public @NotNull PlanKey getPlanBranchKey()
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.