java.lang.Object
org.eclipse.jgit.api.CheckoutResult
Encapsulates the result of a
CheckoutCommand
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final CheckoutResult
TheCheckoutResult.Status.ERROR
result;static final CheckoutResult
TheCheckoutResult.Status.NOT_TRIED
result; -
Method Summary
Modifier and TypeMethodDescriptionGet list of file that created a checkout conflictGet the list of files that where modified during checkoutGet the list of files that where removed during checkoutGet statusGet the list of files that could not be deleted during checkout
-
Field Details
-
ERROR_RESULT
TheCheckoutResult.Status.ERROR
result; -
NOT_TRIED_RESULT
TheCheckoutResult.Status.NOT_TRIED
result;
-
-
Method Details
-
getStatus
Get status- Returns:
- the status
-
getConflictList
Get list of file that created a checkout conflict- Returns:
- the list of files that created a checkout conflict, or an empty
list if
getStatus()
is notCheckoutResult.Status.CONFLICTS
;
-
getUndeletedList
Get the list of files that could not be deleted during checkout- Returns:
- the list of files that could not be deleted during checkout, or
an empty list if
getStatus()
is notCheckoutResult.Status.NONDELETED
;
-
getModifiedList
Get the list of files that where modified during checkout- Returns:
- the list of files that where modified during checkout, or an
empty list if
getStatus()
is notCheckoutResult.Status.OK
-
getRemovedList
Get the list of files that where removed during checkout- Returns:
- the list of files that where removed during checkout, or an empty
list if
getStatus()
is notCheckoutResult.Status.OK
-