public final class GitRebaseResult extends Object
Modifier and Type | Class and Description |
---|---|
static class |
GitRebaseResult.RebaseStatus
The status rebase resulted in.
|
Modifier and Type | Method and Description |
---|---|
Collection<File> |
getConflicts()
If the rebase started but was unable to finish because of unresolved
conflicts then the method returns a collection of such files in conflict.
|
String |
getCurrentCommit() |
String |
getCurrentHead() |
Collection<File> |
getFailures()
When the rebase fails because of local modifications (i.e.
|
GitRebaseResult.RebaseStatus |
getRebaseStatus() |
public GitRebaseResult.RebaseStatus getRebaseStatus()
public String getCurrentHead()
public String getCurrentCommit()
GitRebaseResult.RebaseStatus.STOPPED
state, or null
if the result is
different.public Collection<File> getConflicts()
public Collection<File> getFailures()
GitRebaseResult.RebaseStatus.CONFLICTS
or GitRebaseResult.RebaseStatus.FAILED
) then
this method returns a collections of files causing the failure.