Class CheckoutEntryImpl

  • All Implemented Interfaces:
    CheckoutEntry

    public class CheckoutEntryImpl
    extends java.lang.Object
    implements CheckoutEntry
    Parsed information about a checkout.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) static java.lang.String CHECKOUT_MOVING_FROM  
      private java.lang.String from  
      private java.lang.String to  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getFromBranch()
      Get the name of the branch before checkout
      java.lang.String getToBranch()
      Get the name of the branch after checkout
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • CHECKOUT_MOVING_FROM

        static final java.lang.String CHECKOUT_MOVING_FROM
        See Also:
        Constant Field Values
      • from

        private java.lang.String from
      • to

        private java.lang.String to
    • Constructor Detail

      • CheckoutEntryImpl

        CheckoutEntryImpl​(ReflogEntry reflogEntry)
    • Method Detail

      • getFromBranch

        public java.lang.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 java.lang.String getToBranch()
        Get the name of the branch after checkout
        Specified by:
        getToBranch in interface CheckoutEntry
        Returns:
        the name of the branch after checkout