Package org.eclipse.jgit.api
Class RebaseResult
- java.lang.Object
-
- org.eclipse.jgit.api.RebaseResult
-
public class RebaseResult extends Object
The result of aRebaseCommand
execution
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RebaseResult.Status
The overall status
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getConflicts()
Get the list of conflictsRevCommit
getCurrentCommit()
Get the current commit if status isRebaseResult.Status.STOPPED
, otherwisenull
Map<String,ResolveMerger.MergeFailureReason>
getFailingPaths()
Get the list of paths causing this rebase to failRebaseResult.Status
getStatus()
Get the statusList<String>
getUncommittedChanges()
Getter for the fielduncommittedChanges
.
-
-
-
Method Detail
-
getStatus
public RebaseResult.Status getStatus()
Get the status- Returns:
- the overall status
-
getCurrentCommit
public RevCommit getCurrentCommit()
Get the current commit if status isRebaseResult.Status.STOPPED
, otherwisenull
- Returns:
- the current commit if status is
RebaseResult.Status.STOPPED
, otherwisenull
-
getFailingPaths
public Map<String,ResolveMerger.MergeFailureReason> getFailingPaths()
Get the list of paths causing this rebase to fail- Returns:
- the list of paths causing this rebase to fail (see
ResolveMerger.getFailingPaths()
for details) if status isRebaseResult.Status.FAILED
, otherwisenull
-
getConflicts
public List<String> getConflicts()
Get the list of conflicts- Returns:
- the list of conflicts if status is
RebaseResult.Status.CONFLICTS
-
getUncommittedChanges
public List<String> getUncommittedChanges()
Getter for the field
uncommittedChanges
.- Returns:
- the list of uncommitted changes if status is
RebaseResult.Status.UNCOMMITTED_CHANGES
- Since:
- 3.2
-
-