Class CheckoutEntryImpl
- java.lang.Object
-
- org.eclipse.jgit.internal.storage.file.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
-
Constructor Summary
Constructors Constructor Description CheckoutEntryImpl(ReflogEntry reflogEntry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getFromBranch()
Get the name of the branch before checkoutjava.lang.String
getToBranch()
Get the name of the branch after checkout
-
-
-
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 interfaceCheckoutEntry
- 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 interfaceCheckoutEntry
- Returns:
- the name of the branch after checkout
-
-