Class GitPullRequestCompletionOptions

java.lang.Object
org.azd.abstractions.serializer.SerializableEntity
org.azd.git.types.GitPullRequestCompletionOptions

public class GitPullRequestCompletionOptions extends SerializableEntity
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 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

      public String getBypassReason()
    • setBypassReason

      public void setBypassReason(String bypassReason)
    • getDeleteSourceBranch

      public boolean getDeleteSourceBranch()
    • setDeleteSourceBranch

      public void setDeleteSourceBranch(boolean deleteSourceBranch)
    • getMergeCommitMessage

      public String getMergeCommitMessage()
    • setMergeCommitMessage

      public void setMergeCommitMessage(String mergeCommitMessage)
    • getMergeStrategy

      public GitPullRequestMergeStrategy getMergeStrategy()
    • setMergeStrategy

      public void setMergeStrategy(GitPullRequestMergeStrategy mergeStrategy)
    • 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)