Top Fields Constructors Methods
org.eclipse.jgit.pgm

pack-priv Class ConvertRefStorage

extends TextBuiltin
Class Inheritance
Annotations
@Command
common:true
usage:usage_convertRefStorage
Imports
org.eclipse.jgit.internal.storage.file.FileRepository, org.kohsuke.args4j.Option, org.kohsuke.args4j.spi.ExplicitBooleanOptionHandler

Field Summary

Modifier and TypeField and Description
private boolean
private String
private boolean
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

backupback to summary
private boolean backup
Annotations
@Option
name:--backup
handler:ExplicitBooleanOptionHandler
aliases:-b
usage:usage_convertRefStorageBackup
formatback to summary
private String format
Annotations
@Option
name:--format
usage:usage_convertRefStorageFormat
writeLogsback to summary
private boolean writeLogs
Annotations
@Option
name:--reflogs
handler:ExplicitBooleanOptionHandler
aliases:-r
usage:usage_convertRefStorageRefLogs

Constructor Detail

ConvertRefStorageback to summary
pack-priv ConvertRefStorage()

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.