Class DivergentBranchDataBean
- java.lang.Object
-
- com.atlassian.bamboo.configuration.external.rss.DivergentBranchDataBean
-
public class DivergentBranchDataBean extends Object
Data used to create or update a divergent branch.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DivergentBranchDataBean.CreationData
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Method Detail
-
forCreation
public static DivergentBranchDataBean forCreation(@NotNull @NotNull ImmutableChain immutableChain, @NotNull @NotNull PlanKey planBranchKey, @NotNull @NotNull PlanBranchWorkflow planBranchWorkflow, @NotNull PlanCreationService.EnablePlan enablePlan)
- Parameters:
immutableChain
- chain for which plan branch should be createdplanBranchKey
- key of new plan branchplanBranchWorkflow
-
-
forUpdate
public static DivergentBranchDataBean forUpdate(@NotNull @NotNull ImmutableChain immutableChain, @NotNull @NotNull PlanKey planBranchKey)
- Parameters:
immutableChain
- chain for which plan branch should be updatedplanBranchKey
- key of new plan branch
-
isCreation
public boolean isCreation()
-
getCreationData
@NotNull public @NotNull Optional<DivergentBranchDataBean.CreationData> getCreationData()
-
getImmutableChain
@NotNull public @NotNull ImmutableChain getImmutableChain()
-
getPlanBranchKey
@NotNull public @NotNull PlanKey getPlanBranchKey()
-
-