Class Checkout

java.lang.Object
org.eclipse.jgit.pgm.TextBuiltin
org.eclipse.jgit.pgm.Checkout

class Checkout extends TextBuiltin
  • Field Details

    • createBranch

      private boolean createBranch
    • forceSwitchBranch

      private boolean forceSwitchBranch
    • forced

      private boolean forced
    • orphan

      private boolean orphan
    • name

      private String name
    • paths

      private List<String> paths
  • Constructor Details

    • Checkout

      Checkout()
  • Method Details

    • run

      protected void run() throws Exception
      Perform the actions of this command.

      This method should only be invoked by TextBuiltin.execute(String[]).

      Specified by:
      run in class TextBuiltin
      Throws:
      Exception - an error occurred while processing the command. The main framework will catch the exception and print a message on standard error.