Java org.eclipse.jgit.transport ReceiveCommand fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jgit.transport ReceiveCommand fields, constructors, methods, implement or subclass

Introduction

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

The text is from its open source code.

Subclass

org.eclipse.jgit.transport.ReceiveCommand has subclasses.
Click this link to see all its subclasses.

Constructor

ReceiveCommand(final ObjectId oldId, final ObjectId newId, final String name)
Create a new command for org.eclipse.jgit.transport.ReceivePack .
ReceiveCommand(ObjectId oldId, String newSymref, String name)
Create a command to switch a reference from object to symbolic.
ReceiveCommand(String oldSymref, ObjectId newId, String name)
Create a command to switch a reference from symbolic to object.
ReceiveCommand(@Nullable String oldTarget, String newTarget, String name)
Create a command to switch a symbolic reference's target.
ReceiveCommand(final ObjectId oldId, final ObjectId newId, final String name, final Type type)
Create a new command for org.eclipse.jgit.transport.ReceivePack .

Method

Listfilter(Iterable in, Result want)
Filter a collection of commands according to result.
Listfilter(List commands, Result want)
Filter a list of commands according to result.
StringgetMessage()
Get the message associated with a failure status.
ObjectIdgetNewId()
Get the requested new value for this ref.
ObjectIdgetOldId()
Get the old value the client thinks the ref has.
StringgetRefName()
Get the name of the ref being updated.
ResultgetResult()
Get the current status code of this command.
TypegetType()
Get the type of this command; see Type .
voidsetResult(Result s, String m)
Set the status of this command.
voidsetResult(Result s)
Set the status of this command.
voidsetResult(RefUpdate.Result r)
Set the result of this command.