Package org.azd.git.types
Class GitPullRequestCompletionOptions
java.lang.Object
org.azd.abstractions.serializer.SerializableEntity
org.azd.git.types.GitPullRequestCompletionOptions
Specify the strategy used to merge the pull request during completion. If MergeStrategy is not set to any value, a no-FF merge will be created if SquashMerge == false. If MergeStrategy is not set to any value, the pull request commits will be squashed if SquashMerge == true. The SquashMerge property is deprecated. It is recommended that you explicitly set MergeStrategy in all cases. If an explicit value is provided for MergeStrategy, the SquashMerge property will be ignored.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint[]
boolean
boolean
boolean
boolean
boolean
void
setAutoCompleteIgnoreConfigIds
(int[] autoCompleteIgnoreConfigIds) void
setBypassPolicy
(boolean bypassPolicy) void
setBypassReason
(String bypassReason) void
setDeleteSourceBranch
(boolean deleteSourceBranch) void
setMergeCommitMessage
(String mergeCommitMessage) void
setMergeStrategy
(GitPullRequestMergeStrategy mergeStrategy) void
setSquashMerge
(boolean squashMerge) void
setTransitionWorkItems
(boolean transitionWorkItems) void
setTriggeredByAutoComplete
(boolean triggeredByAutoComplete) Methods inherited from class org.azd.abstractions.serializer.SerializableEntity
getResponse, toJsonTree, toString
-
Constructor Details
-
GitPullRequestCompletionOptions
public GitPullRequestCompletionOptions()
-
-
Method Details
-
getAutoCompleteIgnoreConfigIds
public int[] getAutoCompleteIgnoreConfigIds() -
setAutoCompleteIgnoreConfigIds
public void setAutoCompleteIgnoreConfigIds(int[] autoCompleteIgnoreConfigIds) -
getBypassPolicy
public boolean getBypassPolicy() -
setBypassPolicy
public void setBypassPolicy(boolean bypassPolicy) -
getBypassReason
-
setBypassReason
-
getDeleteSourceBranch
public boolean getDeleteSourceBranch() -
setDeleteSourceBranch
public void setDeleteSourceBranch(boolean deleteSourceBranch) -
getMergeCommitMessage
-
setMergeCommitMessage
-
getMergeStrategy
-
setMergeStrategy
-
getSquashMerge
public boolean getSquashMerge() -
setSquashMerge
public void setSquashMerge(boolean squashMerge) -
getTransitionWorkItems
public boolean getTransitionWorkItems() -
setTransitionWorkItems
public void setTransitionWorkItems(boolean transitionWorkItems) -
getTriggeredByAutoComplete
public boolean getTriggeredByAutoComplete() -
setTriggeredByAutoComplete
public void setTriggeredByAutoComplete(boolean triggeredByAutoComplete)
-