Codota Logo
DeleteBranchCommand.checkCallable
Code IndexAdd Codota to your IDE (free)

How to use
checkCallable
method
in
org.eclipse.jgit.api.DeleteBranchCommand

Best Java code snippets using org.eclipse.jgit.api.DeleteBranchCommand.checkCallable (Showing top 9 results out of 315)

  • Common ways to obtain DeleteBranchCommand
private void myMethod () {
DeleteBranchCommand d =
  • Codota IconRepository repo;new DeleteBranchCommand(repo)
  • Codota IconGit git;git.branchDelete()
  • Smart code suggestions by Codota
}
origin: org.eclipse.jgit/org.eclipse.jgit

  /**
   * Set whether to forcefully delete branches
   *
   * @param force
   *            <code>true</code> corresponds to the -D option,
   *            <code>false</code> to the -d option (default) <br>
   *            if <code>false</code> a check will be performed whether the
   *            branch to be deleted is already merged into the current branch
   *            and deletion will be refused in this case
   * @return this instance
   */
  public DeleteBranchCommand setForce(boolean force) {
    checkCallable();
    this.force = force;
    return this;
  }
}
origin: org.eclipse.jgit/org.eclipse.jgit

/**
 * Set the names of the branches to delete
 *
 * @param branchnames
 *            the names of the branches to delete; if not set, this will do
 *            nothing; invalid branch names will simply be ignored
 * @return this instance
 */
public DeleteBranchCommand setBranchNames(String... branchnames) {
  checkCallable();
  this.branchNames.clear();
  for (String branch : branchnames)
    this.branchNames.add(branch);
  return this;
}
origin: org.eclipse.jgit/org.eclipse.jgit

public List<String> call() throws GitAPIException,
    NotMergedException, CannotDeleteCurrentBranchException {
  checkCallable();
  List<String> result = new ArrayList<>();
  if (branchNames.isEmpty())
origin: sonia.jgit/org.eclipse.jgit

  /**
   * @param force
   *            <code>true</code> corresponds to the -D option,
   *            <code>false</code> to the -d option (default) <br>
   *            if <code>false</code> a check will be performed whether the
   *            branch to be deleted is already merged into the current branch
   *            and deletion will be refused in this case
   * @return this instance
   */
  public DeleteBranchCommand setForce(boolean force) {
    checkCallable();
    this.force = force;
    return this;
  }
}
origin: berlam/github-bucket

  /**
   * Set whether to forcefully delete branches
   *
   * @param force
   *            <code>true</code> corresponds to the -D option,
   *            <code>false</code> to the -d option (default) <br>
   *            if <code>false</code> a check will be performed whether the
   *            branch to be deleted is already merged into the current branch
   *            and deletion will be refused in this case
   * @return this instance
   */
  public DeleteBranchCommand setForce(boolean force) {
    checkCallable();
    this.force = force;
    return this;
  }
}
origin: sonia.jgit/org.eclipse.jgit

/**
 * @param branchnames
 *            the names of the branches to delete; if not set, this will do
 *            nothing; invalid branch names will simply be ignored
 * @return this instance
 */
public DeleteBranchCommand setBranchNames(String... branchnames) {
  checkCallable();
  this.branchNames.clear();
  for (String branch : branchnames)
    this.branchNames.add(branch);
  return this;
}
origin: berlam/github-bucket

/**
 * Set the names of the branches to delete
 *
 * @param branchnames
 *            the names of the branches to delete; if not set, this will do
 *            nothing; invalid branch names will simply be ignored
 * @return this instance
 */
public DeleteBranchCommand setBranchNames(String... branchnames) {
  checkCallable();
  this.branchNames.clear();
  for (String branch : branchnames)
    this.branchNames.add(branch);
  return this;
}
origin: sonia.jgit/org.eclipse.jgit

checkCallable();
List<String> result = new ArrayList<String>();
if (branchNames.isEmpty())
origin: berlam/github-bucket

public List<String> call() throws GitAPIException,
    NotMergedException, CannotDeleteCurrentBranchException {
  checkCallable();
  List<String> result = new ArrayList<>();
  if (branchNames.isEmpty())
org.eclipse.jgit.apiDeleteBranchCommandcheckCallable

Popular methods of DeleteBranchCommand

  • call
  • setBranchNames
    Set the names of the branches to delete
  • setForce
    Set whether to forcefully delete branches
  • <init>
    Constructor for DeleteBranchCommand
  • setCallable

Popular in Java

  • Reactive rest calls using spring rest template
  • onCreateOptionsMenu (Activity)
  • addToBackStack (FragmentTransaction)
  • startActivity (Activity)
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • Dictionary (java.util)
    The Dictionary class is the abstract parent of any class, such as Hashtable, which maps keys to valu
  • Locale (java.util)
    A Locale object represents a specific geographical, political, or cultural region. An operation that
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • LogFactory (org.apache.commons.logging)
    A minimal incarnation of Apache Commons Logging's LogFactory API, providing just the common Log look
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now