Java org.eclipse.jgit.api PushCommand fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jgit.api PushCommand fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.jgit.api PushCommand.

The text is from its open source code.

Method

PushCommandadd(Ref ref)
Add a reference to push.
PushCommandadd(String nameOrSpec)
Add a reference to push.
Iterablecall()

Execute the push command with all the options and parameters collected by the setter methods of this class.

StringgetRemote()
Get remote name
PushCommandsetDryRun(boolean dryRun)
Sets whether the push operation should be a dry run
PushCommandsetForce(boolean force)
Sets the force preference for push operation.
PushCommandsetProgressMonitor(ProgressMonitor monitor)
The progress monitor associated with the push operation.
PushCommandsetPushAll()
Push all branches under refs/heads/*.
PushCommandsetPushTags()
Push all tags under refs/tags/*.
PushCommandsetRefSpecs(RefSpec... specs)
The ref specs to be used in the push operation
PushCommandsetRefSpecs(List specs)
The ref specs to be used in the push operation
PushCommandsetRemote(String remote)
The remote (uri or name) used for the push operation.