@Entity public class MergeResultSummaryImpl extends BambooEntityObject implements MergeResultSummary
Modifier and Type | Field and Description |
---|---|
protected String |
branchName |
protected String |
branchTargetVcsKey |
Constructor and Description |
---|
MergeResultSummaryImpl() |
MergeResultSummaryImpl(BranchIntegrationStrategy integrationStrategy) |
MergeResultSummaryImpl(MergeResultSummary other) |
Modifier and Type | Method and Description |
---|---|
static void |
copy(MergeResultSummary from,
MergeResultSummary to) |
String |
getBranchName()
Branch name associated with this Plan Branch.
|
String |
getBranchTargetVcsKey()
Depending on the integration strategy this could be the checked out revision or the merged revision
Should be NotNull, but legacy data may exist that doesn't have this value.
|
String |
getFailureReason() |
String |
getIntegrationBranchVcsKey()
Depensing on the integration strategy this could be the checked out revision or the merged revision
|
String |
getIntegrationRepositoryBranchName()
The branch name associated with the integration repository
|
long |
getIntegrationRepositoryId() |
BranchIntegrationStrategy |
getIntegrationStrategy()
Should not be null, however legacy data may exist that doesn't have this value.
|
String |
getMergeResultVcsKey() |
MergeResultState |
getMergeState()
The state of the merge part of the integration strategy
Should be NotNull but legacy data may exist
|
MergeResultState |
getPushState()
The state of the push part of the integration strategy
Should be NotNull but legacy data may exist
|
boolean |
hasFailed()
Has the branch integration failed at any point in the integration process
|
boolean |
isEmptyMerge() |
void |
setBranchName(String branchName) |
void |
setBranchTargetVcsKey(String branchTargetVcsKey) |
void |
setEmptyMerge(boolean emptyMerge) |
void |
setFailureReason(String failureReason) |
void |
setIntegrationBranchVcsKey(String integrationBranchVcsKey) |
void |
setIntegrationRepositoryBranchName(String integrationRepositoryBranchName) |
void |
setIntegrationRepositoryId(long integrationRepositoryId) |
void |
setIntegrationStrategy(BranchIntegrationStrategy integrationStrategy) |
void |
setMergeResultVcsKey(String pushRevisionKey) |
void |
setMergeState(MergeResultState mergeState) |
void |
setPushState(MergeResultState pushState) |
String |
toString() |
clone, equals, getCreationDate, getCurrentDate, getId, getLastModificationDate, hashCode, setClock, setCreationDate, setId, setLastModificationDate
finalize, getClass, notify, notifyAll, wait, wait, wait
setId
getId
protected String branchTargetVcsKey
protected String branchName
public MergeResultSummaryImpl()
public MergeResultSummaryImpl(BranchIntegrationStrategy integrationStrategy)
public MergeResultSummaryImpl(@NotNull MergeResultSummary other)
public long getIntegrationRepositoryId()
getIntegrationRepositoryId
in interface MergeResultSummary
public void setIntegrationRepositoryId(long integrationRepositoryId)
setIntegrationRepositoryId
in interface MergeResultSummary
@Nullable public String getFailureReason()
getFailureReason
in interface MergeResultSummary
public void setFailureReason(@Nullable String failureReason)
setFailureReason
in interface MergeResultSummary
@NotNull public String getIntegrationBranchVcsKey()
MergeResultSummary
getIntegrationBranchVcsKey
in interface MergeResultSummary
public void setIntegrationBranchVcsKey(@NotNull String integrationBranchVcsKey)
setIntegrationBranchVcsKey
in interface MergeResultSummary
@Nullable public String getMergeResultVcsKey()
getMergeResultVcsKey
in interface MergeResultSummary
public void setMergeResultVcsKey(@Nullable String pushRevisionKey)
setMergeResultVcsKey
in interface MergeResultSummary
public boolean isEmptyMerge()
isEmptyMerge
in interface MergeResultSummary
public void setEmptyMerge(boolean emptyMerge)
setEmptyMerge
in interface MergeResultSummary
@NotNull public MergeResultState getMergeState()
MergeResultSummary
getMergeState
in interface MergeResultSummary
public void setMergeState(@NotNull MergeResultState mergeState)
setMergeState
in interface MergeResultSummary
@NotNull public MergeResultState getPushState()
MergeResultSummary
getPushState
in interface MergeResultSummary
public void setPushState(@NotNull MergeResultState pushState)
setPushState
in interface MergeResultSummary
@Nullable public String getBranchTargetVcsKey()
MergeResultSummary
getBranchTargetVcsKey
in interface MergeResultSummary
public void setBranchTargetVcsKey(@Nullable String branchTargetVcsKey)
setBranchTargetVcsKey
in interface MergeResultSummary
public BranchIntegrationStrategy getIntegrationStrategy()
MergeResultSummary
getIntegrationStrategy
in interface MergeResultSummary
public void setIntegrationStrategy(BranchIntegrationStrategy integrationStrategy)
setIntegrationStrategy
in interface MergeResultSummary
public String getIntegrationRepositoryBranchName()
MergeResultSummary
getIntegrationRepositoryBranchName
in interface MergeResultSummary
public void setIntegrationRepositoryBranchName(String integrationRepositoryBranchName)
setIntegrationRepositoryBranchName
in interface MergeResultSummary
@Nullable public String getBranchName()
MergeResultSummary
getBranchName
in interface MergeResultSummary
public void setBranchName(@Nullable String branchName)
setBranchName
in interface MergeResultSummary
public boolean hasFailed()
MergeResultSummary
hasFailed
in interface MergeResultSummary
public static void copy(@Nullable MergeResultSummary from, @NotNull MergeResultSummary to)
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.