Top Fields Constructors Methods
org.eclipse.jgit.pgm

pack-priv Class UploadPack

extends TextBuiltin
Class Inheritance
Annotations
@Command
common:false
usage:usage_ServerSideBackendForJgitFetch
Imports
java.io.File, .IOException, java.text.MessageFormat, org.eclipse.jgit.errors.RepositoryNotFoundException, org.eclipse.jgit.lib.RepositoryCache.FileKey, org.eclipse.jgit.pgm.internal.CLIText, org.eclipse.jgit.util.FS, org.kohsuke.args4j.Argument, .Option

Field Summary

Modifier and TypeField and Description
pack-priv File
pack-priv int
Inherited from org.eclipse.jgit.pgm.TextBuiltin:
argWalkdberrserrwgitdirinsoutsoutw

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
protected final boolean
requiresRepository()

Overrides org.eclipse.jgit.pgm.TextBuiltin.requiresRepository.

If this command requires a repository.

protected void
run()

Implements abstract org.eclipse.jgit.pgm.TextBuiltin.run.

Perform the actions of this command.

Inherited from org.eclipse.jgit.pgm.TextBuiltin:
abbreviateRefcontainsHelpdiediediedieexecutegetErrorWritergetOutputWritergetRepositorygetResourceBundleinitinitRawparseArgumentsprintUsageprintUsageAndExitprintUsageAndExitresolvesetCommandName

Field Detail

srcGitdirback to summary
pack-priv File srcGitdir
Annotations
@Argument
index:0
required:true
metaVar:metaVar_directory
usage:usage_RepositoryToReadFrom
timeoutback to summary
pack-priv int timeout
Annotations
@Option
name:--timeout
metaVar:metaVar_seconds
usage:usage_abortConnectionIfNoActivity

Constructor Detail

UploadPackback to summary
pack-priv UploadPack()

Method Detail

requiresRepositoryback to summary
protected final boolean requiresRepository()

Overrides org.eclipse.jgit.pgm.TextBuiltin.requiresRepository.

Doc from org.eclipse.jgit.pgm.TextBuiltin.requiresRepository.

If this command requires a repository.

Returns:boolean

true if db/getRepository() is required

Annotations
@Override
runback to summary
protected void run()

Implements abstract org.eclipse.jgit.pgm.TextBuiltin.run.

Doc from org.eclipse.jgit.pgm.TextBuiltin.run.

Perform the actions of this command.

This method should only be invoked by execute(String[]).

Annotations
@Override