- java.lang.Object
-
- org.eclipse.jgit.api.RebaseResult
-
public class RebaseResult extends Object
The result of aRebaseCommandexecution
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRebaseResult.StatusThe overall status
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getConflicts()Get the list of conflictsRevCommitgetCurrentCommit()Get the current commit if status isRebaseResult.Status.STOPPED, otherwisenullMap<String,ResolveMerger.MergeFailureReason>getFailingPaths()Get the list of paths causing this rebase to failRebaseResult.StatusgetStatus()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
-
-