@ExperimentalApi
public interface MergeResultContext
Modifier and Type | Method and Description |
---|---|
@Nullable String |
getBranchName()
Branch name associated with this Plan Branch.
|
@Nullable 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.
|
@Nullable String |
getFailureReason() |
@NotNull String |
getIntegrationBranchVcsKey()
Depensing on the integration strategy this could be the checked out revision or the merged revision
|
@Nullable String |
getIntegrationRepositoryBranchName()
The branch name associated with the integration repository
|
long |
getIntegrationRepositoryId() |
@Nullable BranchIntegrationStrategy |
getIntegrationStrategy()
Should not be null, however legacy data may exist that doesn't have this value.
|
@Nullable String |
getMergeResultVcsKey() |
@Nullable MergeResultState |
getMergeState()
The state of the merge part of the integration strategy
Should be NotNull but legacy data may exist
|
@Nullable 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 mergedRevisionKey) |
void |
setIntegrationRepositoryBranchName(String integrationRepositoryBranchName) |
void |
setIntegrationRepositoryId(long integrationRepositoryId) |
void |
setIntegrationStrategy(BranchIntegrationStrategy elemEnumValue) |
void |
setMergeResultVcsKey(String mergeResultVcsKey) |
void |
setMergeState(MergeResultState mergeState) |
void |
setPushState(MergeResultState pushState) |
@Nullable @Nullable String getFailureReason()
void setFailureReason(String failureReason)
@Nullable @Nullable String getBranchTargetVcsKey()
void setBranchTargetVcsKey(String branchTargetVcsKey)
long getIntegrationRepositoryId()
void setIntegrationRepositoryId(long integrationRepositoryId)
@Nullable @Nullable String getIntegrationRepositoryBranchName()
void setIntegrationRepositoryBranchName(String integrationRepositoryBranchName)
@NotNull @NotNull String getIntegrationBranchVcsKey()
void setIntegrationBranchVcsKey(String mergedRevisionKey)
@Nullable @Nullable String getMergeResultVcsKey()
void setMergeResultVcsKey(String mergeResultVcsKey)
boolean isEmptyMerge()
void setEmptyMerge(boolean emptyMerge)
@Nullable @Nullable MergeResultState getMergeState()
void setMergeState(MergeResultState mergeState)
@Nullable @Nullable MergeResultState getPushState()
void setPushState(MergeResultState pushState)
boolean hasFailed()
@Nullable @Nullable BranchIntegrationStrategy getIntegrationStrategy()
void setIntegrationStrategy(BranchIntegrationStrategy elemEnumValue)
@Nullable @Nullable String getBranchName()
void setBranchName(String branchName)
Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.