public static class BitmapCommit.Builder extends Object
Modifier and Type | Method and Description |
---|---|
BitmapCommit |
build()
Builds BitmapCommit from the builder.
|
BitmapCommit.Builder |
setAddToIndex(boolean addToIndex)
Set whether whether the bitmap of the BitmapCommit should be added to
PackBitmapIndexBuilder when building bitmap index file.
|
BitmapCommit.Builder |
setFlags(int flags)
Set flags of the builder.
|
BitmapCommit.Builder |
setId(AnyObjectId objectId)
Set objectId of the builder.
|
BitmapCommit.Builder |
setReuseWalker(boolean reuseWalker)
Set reuseWalker of the builder.
|
public BitmapCommit.Builder setId(AnyObjectId objectId)
objectId
- the object id of the BitmapCommitpublic BitmapCommit.Builder setReuseWalker(boolean reuseWalker)
reuseWalker
- whether the BitmapCommit should reuse bitmap walker when
walking objectspublic BitmapCommit.Builder setFlags(int flags)
flags
- the flags of the BitmapCommitpublic BitmapCommit.Builder setAddToIndex(boolean addToIndex)
addToIndex
- whether the bitmap of the BitmapCommit should be added to
PackBitmapIndexBuilder when building bitmap index filepublic BitmapCommit build()
Copyright © 2020 Eclipse JGit Project. All rights reserved.