Package com.atlassian.bamboo.build
Class PlanBranchPullRequestEntity
- java.lang.Object
-
- com.atlassian.bamboo.build.PlanBranchPullRequestEntity
-
- All Implemented Interfaces:
MutablePlanBranchPullRequest
,PlanBranchPullRequest
,BambooIdProvider
,BambooObject
@Entity public class PlanBranchPullRequestEntity extends Object implements MutablePlanBranchPullRequest
-
-
Constructor Summary
Constructors Constructor Description PlanBranchPullRequestEntity()
PlanBranchPullRequestEntity(@NotNull MutablePlanBranchPullRequest planBranchPullRequest)
PlanBranchPullRequestEntity(@NotNull ChainBranch chainBranch, @NotNull MutableVcsPullRequest vcsPullRequest)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
@NotNull ChainBranch
getChainBranch()
long
getId()
@NotNull MutableVcsPullRequest
getVcsPullRequest()
int
hashCode()
void
setChainBranch(@NotNull ChainBranch chainBranch)
void
setId(long id)
void
setVcsPullRequest(@NotNull MutableVcsPullRequest vcsPullRequest)
-
-
-
Constructor Detail
-
PlanBranchPullRequestEntity
public PlanBranchPullRequestEntity()
-
PlanBranchPullRequestEntity
public PlanBranchPullRequestEntity(@NotNull @NotNull ChainBranch chainBranch, @NotNull @NotNull MutableVcsPullRequest vcsPullRequest)
-
PlanBranchPullRequestEntity
public PlanBranchPullRequestEntity(@NotNull @NotNull MutablePlanBranchPullRequest planBranchPullRequest)
-
-
Method Detail
-
getId
public long getId()
- Specified by:
getId
in interfaceBambooIdProvider
-
setId
public void setId(long id)
- Specified by:
setId
in interfaceBambooObject
-
getChainBranch
@NotNull public @NotNull ChainBranch getChainBranch()
- Specified by:
getChainBranch
in interfaceMutablePlanBranchPullRequest
- Specified by:
getChainBranch
in interfacePlanBranchPullRequest
-
setChainBranch
public void setChainBranch(@NotNull @NotNull ChainBranch chainBranch)
- Specified by:
setChainBranch
in interfaceMutablePlanBranchPullRequest
-
getVcsPullRequest
@NotNull public @NotNull MutableVcsPullRequest getVcsPullRequest()
- Specified by:
getVcsPullRequest
in interfaceMutablePlanBranchPullRequest
- Specified by:
getVcsPullRequest
in interfacePlanBranchPullRequest
-
setVcsPullRequest
public void setVcsPullRequest(@NotNull @NotNull MutableVcsPullRequest vcsPullRequest)
- Specified by:
setVcsPullRequest
in interfaceMutablePlanBranchPullRequest
-
-