Class CheckoutEntryImpl

java.lang.Object
org.eclipse.jgit.internal.storage.file.CheckoutEntryImpl
All Implemented Interfaces:
CheckoutEntry

public class CheckoutEntryImpl extends Object implements CheckoutEntry
Parsed information about a checkout.
  • Field Details

  • Constructor Details

    • CheckoutEntryImpl

      CheckoutEntryImpl(ReflogEntry reflogEntry)
  • Method Details

    • getFromBranch

      public String getFromBranch()
      Get the name of the branch before checkout
      Specified by:
      getFromBranch in interface CheckoutEntry
      Returns:
      the name of the branch before checkout
    • getToBranch

      public String getToBranch()
      Get the name of the branch after checkout
      Specified by:
      getToBranch in interface CheckoutEntry
      Returns:
      the name of the branch after checkout