Package | Description |
---|---|
org.eclipse.jgit.api |
High-level API commands (the porcelain of JGit).
|
org.eclipse.jgit.diff |
Comparing file contents by computing diffs.
|
org.eclipse.jgit.dircache |
Reading and editing the directory cache (index).
|
org.eclipse.jgit.gitrepo | |
org.eclipse.jgit.internal.storage.dfs |
Distributed file system based repository storage.
|
org.eclipse.jgit.internal.storage.file |
File based repository storage.
|
org.eclipse.jgit.internal.storage.pack |
Reading/writing Git pack files.
|
org.eclipse.jgit.junit | |
org.eclipse.jgit.lib |
Core API for repository, config, refs, object database.
|
org.eclipse.jgit.merge |
Content and commit history merge algorithms.
|
org.eclipse.jgit.revwalk |
Walking revision graphs (commit history).
|
org.eclipse.jgit.transport |
Transport (fetch/push) for different protocols.
|
org.eclipse.jgit.util |
Utility classes.
|
Modifier and Type | Method and Description |
---|---|
ProgressMonitor |
FetchCommand.getProgressMonitor()
Get progress monitor
|
ProgressMonitor |
PushCommand.getProgressMonitor()
Get the progress monitor
|
Modifier and Type | Method and Description |
---|---|
ResetCommand |
ResetCommand.setProgressMonitor(ProgressMonitor monitor)
The progress monitor associated with the reset operation.
|
CherryPickCommand |
CherryPickCommand.setProgressMonitor(ProgressMonitor monitor)
The progress monitor associated with the cherry-pick operation.
|
FetchCommand |
FetchCommand.setProgressMonitor(ProgressMonitor monitor)
The progress monitor associated with the fetch operation.
|
SubmoduleUpdateCommand |
SubmoduleUpdateCommand.setProgressMonitor(ProgressMonitor monitor)
The progress monitor associated with the clone operation.
|
PullCommand |
PullCommand.setProgressMonitor(ProgressMonitor monitor)
Set progress monitor
|
MergeCommand |
MergeCommand.setProgressMonitor(ProgressMonitor monitor)
The progress monitor associated with the diff operation.
|
GarbageCollectCommand |
GarbageCollectCommand.setProgressMonitor(ProgressMonitor monitor)
Set progress monitor
|
RebaseCommand |
RebaseCommand.setProgressMonitor(ProgressMonitor monitor)
Set progress monitor
|
PushCommand |
PushCommand.setProgressMonitor(ProgressMonitor monitor)
The progress monitor associated with the push operation.
|
DiffCommand |
DiffCommand.setProgressMonitor(ProgressMonitor monitor)
The progress monitor associated with the diff operation.
|
StatusCommand |
StatusCommand.setProgressMonitor(ProgressMonitor progressMonitor)
To set the
ProgressMonitor which contains
callback methods to inform you about the progress of this command. |
SubmoduleAddCommand |
SubmoduleAddCommand.setProgressMonitor(ProgressMonitor monitor)
The progress monitor associated with the clone operation.
|
RevertCommand |
RevertCommand.setProgressMonitor(ProgressMonitor monitor)
The progress monitor associated with the revert operation.
|
CloneCommand |
CloneCommand.setProgressMonitor(ProgressMonitor monitor)
The progress monitor associated with the clone operation.
|
CheckoutCommand |
CheckoutCommand.setProgressMonitor(ProgressMonitor monitor) |
Modifier and Type | Method and Description |
---|---|
List<DiffEntry> |
RenameDetector.compute(ContentSource.Pair reader,
ProgressMonitor pm)
Detect renames in the current file set.
|
List<DiffEntry> |
RenameDetector.compute(ObjectReader reader,
ProgressMonitor pm)
Detect renames in the current file set.
|
List<DiffEntry> |
RenameDetector.compute(ProgressMonitor pm)
Detect renames in the current file set.
|
void |
DiffFormatter.setProgressMonitor(ProgressMonitor pm)
Set the progress monitor for long running rename detection.
|
Modifier and Type | Method and Description |
---|---|
void |
DirCacheCheckout.setProgressMonitor(ProgressMonitor monitor)
Set a progress monitor which can be passed to built-in filter commands,
providing progress information for long running tasks.
|
Modifier and Type | Method and Description |
---|---|
RepoCommand |
RepoCommand.setProgressMonitor(ProgressMonitor monitor)
The progress monitor associated with the clone operation.
|
Modifier and Type | Method and Description |
---|---|
FsckError |
DfsFsck.check(ProgressMonitor pm)
Verify the integrity and connectivity of all objects in the object
database.
|
void |
DfsPackCompactor.compact(ProgressMonitor pm)
Compact the pack files together.
|
void |
ReftableBatchRefUpdate.execute(RevWalk rw,
ProgressMonitor pm,
List<String> options)
Execute this batch update.
|
boolean |
DfsGarbageCollector.pack(ProgressMonitor pm)
Create a single new pack file containing all of the live objects.
|
PackLock |
DfsPackParser.parse(ProgressMonitor receiving,
ProgressMonitor resolving)
Parse the pack stream.
|
void |
DfsReader.selectObjectRepresentation(PackWriter packer,
ProgressMonitor monitor,
Iterable<ObjectToPack> objects) |
Modifier and Type | Method and Description |
---|---|
void |
FileRepository.autoGC(ProgressMonitor monitor)
Check whether any housekeeping is required; if yes, run garbage
collection; if not, exit without performing any work.
|
PackLock |
ObjectDirectoryPackParser.parse(ProgressMonitor receiving,
ProgressMonitor resolving)
Parse the pack stream.
|
GC |
GC.setProgressMonitor(ProgressMonitor pm)
Set the progress monitor used for garbage collection methods.
|
Modifier and Type | Method and Description |
---|---|
boolean |
PackWriter.prepareBitmapIndex(ProgressMonitor pm)
Prepares the bitmaps to be written to the bitmap index file.
|
void |
PackWriter.preparePack(ProgressMonitor countingMonitor,
ObjectWalk walk,
Set<? extends ObjectId> interestingObjects,
Set<? extends ObjectId> uninterestingObjects,
Set<? extends ObjectId> noBitmaps)
Prepare the list of objects to be written to the pack stream.
|
void |
PackWriter.preparePack(ProgressMonitor countingMonitor,
Set<? extends ObjectId> want,
Set<? extends ObjectId> have)
Prepare the list of objects to be written to the pack stream.
|
void |
PackWriter.preparePack(ProgressMonitor countingMonitor,
Set<? extends ObjectId> want,
Set<? extends ObjectId> have,
Set<? extends ObjectId> shallow)
Prepare the list of objects to be written to the pack stream.
|
void |
PackWriter.preparePack(ProgressMonitor countingMonitor,
Set<? extends ObjectId> want,
Set<? extends ObjectId> have,
Set<? extends ObjectId> shallow,
Set<? extends ObjectId> noBitmaps)
Prepare the list of objects to be written to the pack stream.
|
void |
ObjectReuseAsIs.selectObjectRepresentation(PackWriter packer,
ProgressMonitor monitor,
Iterable<ObjectToPack> objects)
Select the best object representation for a packer.
|
void |
PackWriter.writePack(ProgressMonitor compressMonitor,
ProgressMonitor writeMonitor,
OutputStream packStream)
Write the prepared pack to the supplied stream.
|
Constructor and Description |
---|
PackOutputStream(ProgressMonitor writeMonitor,
OutputStream out,
PackWriter pw)
Initialize a pack output stream.
|
Modifier and Type | Class and Description |
---|---|
class |
StrictWorkMonitor
Strict work monitor
|
Modifier and Type | Class and Description |
---|---|
class |
BatchingProgressMonitor
ProgressMonitor that batches update events.
|
class |
EmptyProgressMonitor
A convenient base class which provides empty method bodies for all
ProgressMonitor methods.
|
class |
NullProgressMonitor
A NullProgressMonitor does not report progress anywhere.
|
class |
TextProgressMonitor
A simple progress reporter printing on a stream.
|
class |
ThreadSafeProgressMonitor
Wrapper around the general
ProgressMonitor to
make it thread safe. |
Modifier and Type | Method and Description |
---|---|
void |
Repository.autoGC(ProgressMonitor monitor)
Check whether any housekeeping is required; if yes, run garbage
collection; if not, exit without performing any work.
|
boolean |
IndexDiff.diff(ProgressMonitor monitor,
int estWorkTreeSize,
int estIndexSize,
String title)
Run the diff operation.
|
void |
BatchRefUpdate.execute(RevWalk walk,
ProgressMonitor monitor)
Execute this batch update without option strings.
|
void |
BatchRefUpdate.execute(RevWalk walk,
ProgressMonitor monitor,
List<String> options)
Execute this batch update.
|
Constructor and Description |
---|
ThreadSafeProgressMonitor(ProgressMonitor pm)
Wrap a ProgressMonitor to be thread safe.
|
Modifier and Type | Field and Description |
---|---|
protected ProgressMonitor |
Merger.monitor
A progress monitor.
|
Modifier and Type | Method and Description |
---|---|
void |
Merger.setProgressMonitor(ProgressMonitor monitor)
Set a progress monitor.
|
Constructor and Description |
---|
BitmapWalker(ObjectWalk walker,
BitmapIndex bitmapIndex,
ProgressMonitor pm)
Create a BitmapWalker.
|
Modifier and Type | Method and Description |
---|---|
OutputStream |
AmazonS3.beginPut(String bucket,
String key,
ProgressMonitor monitor,
String monitorTask)
Atomically create or replace a single large object.
|
protected void |
BasePackFetchConnection.doFetch(ProgressMonitor monitor,
Collection<Ref> want,
Set<ObjectId> have,
OutputStream outputStream)
Execute common ancestor negotiation and fetch the objects.
|
protected void |
BasePackPushConnection.doPush(ProgressMonitor monitor,
Map<String,RemoteRefUpdate> refUpdates,
OutputStream outputStream)
Push one or more objects and update the remote repository.
|
void |
BasePackFetchConnection.fetch(ProgressMonitor monitor,
Collection<Ref> want,
Set<ObjectId> have)
Fetch objects we don't have but that are reachable from advertised refs.
|
void |
FetchConnection.fetch(ProgressMonitor monitor,
Collection<Ref> want,
Set<ObjectId> have)
Fetch objects we don't have but that are reachable from advertised refs.
|
void |
BasePackFetchConnection.fetch(ProgressMonitor monitor,
Collection<Ref> want,
Set<ObjectId> have,
OutputStream outputStream)
Fetch objects we don't have but that are reachable from advertised refs.
|
void |
FetchConnection.fetch(ProgressMonitor monitor,
Collection<Ref> want,
Set<ObjectId> have,
OutputStream out)
Fetch objects we don't have but that are reachable from advertised refs.
|
FetchResult |
Transport.fetch(ProgressMonitor monitor,
Collection<RefSpec> toFetch)
Fetch objects and refs from the remote repository to the local one.
|
PackLock |
PackParser.parse(ProgressMonitor progress)
Parse the pack stream.
|
PackLock |
PackParser.parse(ProgressMonitor receiving,
ProgressMonitor resolving)
Parse the pack stream.
|
PushResult |
Transport.push(ProgressMonitor monitor,
Collection<RemoteRefUpdate> toPush)
Push objects and refs from the local repository to the remote one.
|
PushResult |
Transport.push(ProgressMonitor monitor,
Collection<RemoteRefUpdate> toPush,
OutputStream out)
Push objects and refs from the local repository to the remote one.
|
void |
BasePackPushConnection.push(ProgressMonitor monitor,
Map<String,RemoteRefUpdate> refUpdates)
Pushes to the remote repository basing on provided specification.
|
void |
PushConnection.push(ProgressMonitor monitor,
Map<String,RemoteRefUpdate> refUpdates)
Pushes to the remote repository basing on provided specification.
|
void |
BasePackPushConnection.push(ProgressMonitor monitor,
Map<String,RemoteRefUpdate> refUpdates,
OutputStream outputStream)
Pushes to the remote repository basing on provided specification.
|
void |
PushConnection.push(ProgressMonitor monitor,
Map<String,RemoteRefUpdate> refUpdates,
OutputStream out)
Pushes to the remote repository basing on provided specification.
|
void |
BundleWriter.writeBundle(ProgressMonitor monitor,
OutputStream os)
Generate and write the bundle to the output stream.
|
Modifier and Type | Method and Description |
---|---|
void |
TemporaryBuffer.writeTo(OutputStream os,
ProgressMonitor pm)
Send this buffer to an output stream.
|
void |
TemporaryBuffer.LocalFile.writeTo(OutputStream os,
ProgressMonitor pm) |
Copyright © 2018 Eclipse JGit Project. All rights reserved.