public class MergeChunk extends Object
Modifier and Type | Class and Description |
---|---|
static class |
MergeChunk.ConflictState
A state telling whether a MergeChunk belongs to a conflict or not.
|
Modifier | Constructor and Description |
---|---|
protected |
MergeChunk(int sequenceIndex,
int begin,
int end,
MergeChunk.ConflictState conflictState)
Creates a new empty MergeChunk
|
Modifier and Type | Method and Description |
---|---|
int |
getBegin() |
MergeChunk.ConflictState |
getConflictState() |
int |
getEnd() |
int |
getSequenceIndex() |
protected MergeChunk(int sequenceIndex, int begin, int end, MergeChunk.ConflictState conflictState)
sequenceIndex
- determines to which sequence this chunks belongs to. Same as
in MergeResult.add(int, int, int, org.eclipse.jgit.merge.MergeChunk.ConflictState)
begin
- the first element from the specified sequence which should be
included in the merge result. Indexes start with 0.end
- specifies the end of the range to be added. The element this
index points to is the first element which not added to the
merge result. All elements between begin (including begin) and
this element are added.conflictState
- the state of this chunk. See MergeChunk.ConflictState
public int getSequenceIndex()
MergeResult.add(int, int, int, org.eclipse.jgit.merge.MergeChunk.ConflictState)
public int getBegin()
public int getEnd()
public MergeChunk.ConflictState getConflictState()
MergeChunk.ConflictState
Copyright © 2017 Eclipse JGit Project. All rights reserved.