Package org.eclipse.jgit.api
Class CheckoutResult
- java.lang.Object
-
- org.eclipse.jgit.api.CheckoutResult
-
public class CheckoutResult extends Object
Encapsulates the result of aCheckoutCommand
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCheckoutResult.StatusThe status
-
Field Summary
Fields Modifier and Type Field Description static CheckoutResultERROR_RESULTTheCheckoutResult.Status.ERRORresult;static CheckoutResultNOT_TRIED_RESULTTheCheckoutResult.Status.NOT_TRIEDresult;
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getConflictList()List<String>getModifiedList()List<String>getRemovedList()CheckoutResult.StatusgetStatus()List<String>getUndeletedList()
-
-
-
Field Detail
-
ERROR_RESULT
public static final CheckoutResult ERROR_RESULT
TheCheckoutResult.Status.ERRORresult;
-
NOT_TRIED_RESULT
public static final CheckoutResult NOT_TRIED_RESULT
TheCheckoutResult.Status.NOT_TRIEDresult;
-
-
Method Detail
-
getStatus
public CheckoutResult.Status getStatus()
- Returns:
- the status
-
getConflictList
public List<String> getConflictList()
- Returns:
- the list of files that created a checkout conflict, or an empty
list if
getStatus()is notCheckoutResult.Status.CONFLICTS;
-
getUndeletedList
public List<String> getUndeletedList()
- Returns:
- the list of files that could not be deleted during checkout, or
an empty list if
getStatus()is notCheckoutResult.Status.NONDELETED;
-
getModifiedList
public List<String> getModifiedList()
- Returns:
- the list of files that where modified during checkout, or an
empty list if
getStatus()is notCheckoutResult.Status.OK
-
getRemovedList
public List<String> getRemovedList()
- Returns:
- the list of files that where removed during checkout, or an empty
list if
getStatus()is notCheckoutResult.Status.OK
-
-