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 class
CheckoutResult.Status
The status
-
Field Summary
Fields Modifier and Type Field Description static CheckoutResult
ERROR_RESULT
TheCheckoutResult.Status.ERROR
result;static CheckoutResult
NOT_TRIED_RESULT
TheCheckoutResult.Status.NOT_TRIED
result;
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getConflictList()
List<String>
getModifiedList()
List<String>
getRemovedList()
CheckoutResult.Status
getStatus()
List<String>
getUndeletedList()
-
-
-
Field Detail
-
ERROR_RESULT
public static final CheckoutResult ERROR_RESULT
TheCheckoutResult.Status.ERROR
result;
-
NOT_TRIED_RESULT
public static final CheckoutResult NOT_TRIED_RESULT
TheCheckoutResult.Status.NOT_TRIED
result;
-
-
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
-
-