Top Fields Constructors Methods
org.eclipse.jgit.pgm

pack-priv Class Archive

extends TextBuiltin
Class Inheritance
Annotations
@Command
common:true
usage:usage_archive
Imports
java.io.FileNotFoundException, .FileOutputStream, .OutputStream, org.eclipse.jgit.api.ArchiveCommand, .Git, org.eclipse.jgit.api.errors.GitAPIException, org.eclipse.jgit.archive.ArchiveFormats, org.eclipse.jgit.lib.ObjectId, org.eclipse.jgit.pgm.internal.CLIText, org.kohsuke.args4j.Argument, .Option

Field Summary

Modifier and TypeField and Description
private String
private String
private String
private ObjectId
Inherited from org.eclipse.jgit.pgm.TextBuiltin:
argWalkdberrserrwgitdirinsoutsoutw

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
protected void
run()

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

Perform the actions of this command.

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

Field Detail

formatback to summary
private String format
Annotations
@Option
name:--format
metaVar:metaVar_archiveFormat
usage:usage_archiveFormat
outputback to summary
private String output
Annotations
@Option
name:--output
aliases:-o
metaVar:metaVar_file
usage:usage_archiveOutput
prefixback to summary
private String prefix
Annotations
@Option
name:--prefix
metaVar:metaVar_archivePrefix
usage:usage_archivePrefix
treeback to summary
private ObjectId tree
Annotations
@Argument
index:0
metaVar:metaVar_treeish

Constructor Detail

Archiveback to summary
pack-priv Archive()

Method Detail

runback to summary
protected void run() throws Exception

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
Exceptions
Exception:
an error occurred while processing the command. The main framework will catch the exception and print a message on standard error.