Top Fields Constructors Methods
org.eclipse.jgit.pgm

pack-priv Class Remote

extends TextBuiltin
Class Inheritance
Annotations
@Command
common:false
usage:usage_Remote
Imports
java.io.IOException, .StringWriter, java.text.MessageFormat, java.util.ArrayList, .List, org.eclipse.jgit.api.Git, .RemoteAddCommand, .RemoteListCommand, .RemoteRemoveCommand, .RemoteSetUrlCommand, .RemoteSetUrlCommand.UriType, org.eclipse.jgit.api.errors.JGitInternalException, org.eclipse.jgit.pgm.internal.CLIText, org.eclipse.jgit.pgm.opt.CmdLineParser, org.eclipse.jgit.transport.RemoteConfig, .URIish, org.eclipse.jgit.util.io.ThrowingPrintWriter, org.kohsuke.args4j.Argument, .Option

Field Summary

Modifier and TypeField and Description
private String
private String
private boolean
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
public void
printUsage(String
non null
message
,
CmdLineParser
parser used to print options
clp
)

Overrides org.eclipse.jgit.pgm.TextBuiltin.printUsage.

Print usage help text.

protected void
run()

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

Perform the actions of this command.

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

Field Detail

commandback to summary
private String command
Annotations
@Argument
index:0
metaVar:metaVar_command
nameback to summary
private String name
Annotations
@Argument
index:1
metaVar:metaVar_remoteName
pruneback to summary
private boolean prune
Annotations
@Option
name:--prune
aliases:-p
usage:usage_pruneStaleTrackingRefs
pushback to summary
private boolean push
Annotations
@Option
name:--push
usage:usage_pushUrls
uriback to summary
private String uri
Annotations
@Argument
index:2
metaVar:metaVar_uriish
verboseback to summary
private boolean verbose
Annotations
@Option
name:--verbose
aliases:-v
usage:usage_beVerbose

Constructor Detail

Remoteback to summary
pack-priv Remote()

Method Detail

printUsageback to summary
public void printUsage(String message, CmdLineParser clp) throws IOException

Overrides org.eclipse.jgit.pgm.TextBuiltin.printUsage.

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

Print usage help text.

Parameters
message:String

non null

clp:CmdLineParser

parser used to print options

Annotations
@Override
Exceptions
IOException:
if an IO error occurred
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