public class CherryPickResult extends Object
CherryPickCommand
.Modifier and Type | Class and Description |
---|---|
static class |
CherryPickResult.CherryPickStatus
The cherry-pick status
|
Modifier and Type | Field and Description |
---|---|
static CherryPickResult |
CONFLICT
A
CherryPickResult with status
CherryPickResult.CherryPickStatus.CONFLICTING |
Constructor and Description |
---|
CherryPickResult(Map<String,ResolveMerger.MergeFailureReason> failingPaths)
Constructor for CherryPickResult
|
CherryPickResult(RevCommit newHead,
List<Ref> cherryPickedRefs)
Constructor for CherryPickResult
|
Modifier and Type | Method and Description |
---|---|
List<Ref> |
getCherryPickedRefs()
Get the cherry-picked
Ref s |
Map<String,ResolveMerger.MergeFailureReason> |
getFailingPaths()
Get the list of paths causing this cherry-pick to fail
|
RevCommit |
getNewHead()
Get the new head after this cherry-pick
|
CherryPickResult.CherryPickStatus |
getStatus()
Get status
|
public static final CherryPickResult CONFLICT
CherryPickResult
with status
CherryPickResult.CherryPickStatus.CONFLICTING
public CherryPickResult(RevCommit newHead, List<Ref> cherryPickedRefs)
newHead
- commit the head points at after this cherry-pickcherryPickedRefs
- list of successfully cherry-picked Ref
'spublic CherryPickResult(Map<String,ResolveMerger.MergeFailureReason> failingPaths)
failingPaths
- list of paths causing this cherry-pick to fail (see
ResolveMerger.getFailingPaths()
for details)public CherryPickResult.CherryPickStatus getStatus()
public RevCommit getNewHead()
null
if getStatus()
is not
CherryPickResult.CherryPickStatus.OK
public List<Ref> getCherryPickedRefs()
Ref
sRef
's,
null
if getStatus()
is not
CherryPickResult.CherryPickStatus.OK
public Map<String,ResolveMerger.MergeFailureReason> getFailingPaths()
ResolveMerger.getFailingPaths()
for details), null
if getStatus()
is not
CherryPickResult.CherryPickStatus.FAILED
Copyright © 2018 Eclipse JGit Project. All rights reserved.