Class GitDeleteBranchCommandParameters

java.lang.Object
com.atlassian.bitbucket.util.BuilderSupport
com.atlassian.bitbucket.scm.AbstractCommandParameters
com.atlassian.bitbucket.scm.ref.AbstractRefCommandParameters
com.atlassian.bitbucket.scm.git.ref.GitDeleteBranchCommandParameters

public class GitDeleteBranchCommandParameters extends com.atlassian.bitbucket.scm.ref.AbstractRefCommandParameters
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     

    Nested classes/interfaces inherited from class com.atlassian.bitbucket.scm.ref.AbstractRefCommandParameters

    com.atlassian.bitbucket.scm.ref.AbstractRefCommandParameters.AbstractRefBuilder<B extends com.atlassian.bitbucket.scm.ref.AbstractRefCommandParameters.AbstractRefBuilder<B>>
  • Field Summary

    Fields inherited from class com.atlassian.bitbucket.util.BuilderSupport

    NOT_BLANK
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Retrieves a flag indicating whether a unmerged branch should be deleted or not, defaults to true.

    Methods inherited from class com.atlassian.bitbucket.scm.ref.AbstractRefCommandParameters

    getAuthor, getMessage, getName

    Methods inherited from class com.atlassian.bitbucket.util.BuilderSupport

    addIf, addIf, addIf, addIf, addIf, addIf, checkNotBlank, requireNonBlank

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • isForce

      public boolean isForce()
      Retrieves a flag indicating whether a unmerged branch should be deleted or not, defaults to true.
      Returns:
      true if the branch should be deleted irrespective of its merged status; otherwise, false