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.StringCHECKOUT_MOVING_FROMprivate java.lang.Stringfromprivate java.lang.Stringto
-
Constructor Summary
Constructors Constructor Description CheckoutEntryImpl(ReflogEntry reflogEntry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetFromBranch()Get the name of the branch before checkoutjava.lang.StringgetToBranch()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:
getFromBranchin 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:
getToBranchin interfaceCheckoutEntry- Returns:
- the name of the branch after checkout
-
-