Uses of Class
org.eclipse.jgit.transport.ReceiveCommand
-
Packages that use ReceiveCommand Package Description org.eclipse.jgit.internal.storage.file File based repository storage.org.eclipse.jgit.internal.storage.reftable org.eclipse.jgit.internal.transport.connectivity org.eclipse.jgit.lib Core API for repository, config, refs, object database.org.eclipse.jgit.transport Transport (fetch/push) for different protocols. -
-
Uses of ReceiveCommand in org.eclipse.jgit.internal.storage.file
Methods in org.eclipse.jgit.internal.storage.file with parameters of type ReceiveCommand Modifier and Type Method Description private static void
PackedBatchRefUpdate. lockFailure(ReceiveCommand cmd, java.util.List<ReceiveCommand> commands)
private static Ref
PackedBatchRefUpdate. peeledRef(RevWalk walk, ReceiveCommand cmd)
private static void
PackedBatchRefUpdate. reject(ReceiveCommand cmd, ReceiveCommand.Result result, java.lang.String why, java.util.List<ReceiveCommand> commands)
private static void
PackedBatchRefUpdate. reject(ReceiveCommand cmd, ReceiveCommand.Result result, java.util.List<ReceiveCommand> commands)
private java.lang.String
PackedBatchRefUpdate. toResultString(ReceiveCommand cmd)
Method parameters in org.eclipse.jgit.internal.storage.file with type arguments of type ReceiveCommand Modifier and Type Method Description private static RefList<Ref>
PackedBatchRefUpdate. applyUpdates(RevWalk walk, RefList<Ref> refs, java.util.List<ReceiveCommand> commands)
private boolean
PackedBatchRefUpdate. checkConflictingNames(java.util.List<ReceiveCommand> commands)
private boolean
PackedBatchRefUpdate. checkNonFastForwards(RevWalk walk, java.util.List<ReceiveCommand> commands)
private boolean
PackedBatchRefUpdate. checkObjectExistence(RevWalk walk, java.util.List<ReceiveCommand> commands)
private static boolean
PackedBatchRefUpdate. containsSymrefs(java.util.List<ReceiveCommand> commands)
private static void
PackedBatchRefUpdate. lockFailure(ReceiveCommand cmd, java.util.List<ReceiveCommand> commands)
private java.util.Map<java.lang.String,LockFile>
PackedBatchRefUpdate. lockLooseRefs(java.util.List<ReceiveCommand> commands)
Lock loose refs corresponding to a list of commands.private static void
PackedBatchRefUpdate. reject(ReceiveCommand cmd, ReceiveCommand.Result result, java.lang.String why, java.util.List<ReceiveCommand> commands)
private static void
PackedBatchRefUpdate. reject(ReceiveCommand cmd, ReceiveCommand.Result result, java.util.List<ReceiveCommand> commands)
private void
PackedBatchRefUpdate. writeReflog(java.util.List<ReceiveCommand> commands)
-
Uses of ReceiveCommand in org.eclipse.jgit.internal.storage.reftable
Methods in org.eclipse.jgit.internal.storage.reftable that return ReceiveCommand Modifier and Type Method Description static ReceiveCommand
ReftableDatabase. toCommand(Ref oldRef, Ref newRef)
Methods in org.eclipse.jgit.internal.storage.reftable that return types with arguments of type ReceiveCommand Modifier and Type Method Description private java.util.List<ReceiveCommand>
ReftableBatchRefUpdate. getPending()
Methods in org.eclipse.jgit.internal.storage.reftable with parameters of type ReceiveCommand Modifier and Type Method Description private static boolean
ReftableBatchRefUpdate. matchOld(ReceiveCommand cmd, Ref ref)
private java.lang.String
ReftableBatchRefUpdate. toResultString(ReceiveCommand cmd)
Method parameters in org.eclipse.jgit.internal.storage.reftable with type arguments of type ReceiveCommand Modifier and Type Method Description private boolean
ReftableBatchRefUpdate. checkConflicting(java.util.List<ReceiveCommand> pending)
private boolean
ReftableBatchRefUpdate. checkExpected(java.util.List<ReceiveCommand> pending)
private boolean
ReftableBatchRefUpdate. checkNonFastForwards(RevWalk rw, java.util.List<ReceiveCommand> pending)
private boolean
ReftableBatchRefUpdate. checkObjectExistence(RevWalk rw, java.util.List<ReceiveCommand> pending)
private static java.util.List<Ref>
ReftableBatchRefUpdate. toNewRefs(RevWalk rw, java.util.List<ReceiveCommand> pending)
private void
ReftableBatchRefUpdate. writeLog(ReftableWriter writer, long updateIndex, java.util.List<ReceiveCommand> pending)
-
Uses of ReceiveCommand in org.eclipse.jgit.internal.transport.connectivity
Method parameters in org.eclipse.jgit.internal.transport.connectivity with type arguments of type ReceiveCommand Modifier and Type Method Description private static java.util.stream.Stream<ObjectId>
IterativeConnectivityChecker. getAllObjectIds(java.util.List<ReceiveCommand> commands)
-
Uses of ReceiveCommand in org.eclipse.jgit.lib
Fields in org.eclipse.jgit.lib with type parameters of type ReceiveCommand Modifier and Type Field Description private java.util.List<ReceiveCommand>
BatchRefUpdate. commands
Commands to apply during this batch.Methods in org.eclipse.jgit.lib that return types with arguments of type ReceiveCommand Modifier and Type Method Description java.util.List<ReceiveCommand>
BatchRefUpdate. getCommands()
Get commands this update will process.Methods in org.eclipse.jgit.lib with parameters of type ReceiveCommand Modifier and Type Method Description BatchRefUpdate
BatchRefUpdate. addCommand(ReceiveCommand cmd)
Add a single command to this batch update.BatchRefUpdate
BatchRefUpdate. addCommand(ReceiveCommand... cmd)
Add commands to this batch update.protected java.lang.String
BatchRefUpdate. getRefLogMessage(ReceiveCommand cmd)
Get reflog message for a command.protected boolean
BatchRefUpdate. isForceRefLog(ReceiveCommand cmd)
Check whether the reflog for a command should be written regardless of repo defaults.protected boolean
BatchRefUpdate. isRefLogDisabled(ReceiveCommand cmd)
Check whether reflog is disabled for a command.protected boolean
BatchRefUpdate. isRefLogIncludingResult(ReceiveCommand cmd)
Check whether the reflog message for a command should include the result.protected RefUpdate
BatchRefUpdate. newUpdate(ReceiveCommand cmd)
Create a new RefUpdate copying the batch settings.Method parameters in org.eclipse.jgit.lib with type arguments of type ReceiveCommand Modifier and Type Method Description BatchRefUpdate
BatchRefUpdate. addCommand(java.util.Collection<ReceiveCommand> cmd)
Add commands to this batch update. -
Uses of ReceiveCommand in org.eclipse.jgit.transport
Subclasses of ReceiveCommand in org.eclipse.jgit.transport Modifier and Type Class Description (package private) class
TrackingRefUpdate.Command
Fields in org.eclipse.jgit.transport declared as ReceiveCommand Modifier and Type Field Description private ReceiveCommand
TrackingRefUpdate. cmd
Fields in org.eclipse.jgit.transport with type parameters of type ReceiveCommand Modifier and Type Field Description private java.util.List<ReceiveCommand>
ConnectivityChecker.ConnectivityCheckInfo. commands
private java.util.List<ReceiveCommand>
PushCertificate. commands
private java.util.List<ReceiveCommand>
PushCertificateParser. commands
private java.util.List<ReceiveCommand>
ReceivePack. commands
(package private) java.util.Collection<ReceiveCommand>
PushCertificateStore.PendingCert. matching
Methods in org.eclipse.jgit.transport that return ReceiveCommand Modifier and Type Method Description ReceiveCommand
TrackingRefUpdate. asReceiveCommand()
Get this update wrapped by a ReceiveCommand.static ReceiveCommand
ReceiveCommand. link(java.lang.String oldTarget, java.lang.String newTarget, java.lang.String name)
Create a command to switch a symbolic reference's target.static ReceiveCommand
ReceiveCommand. link(ObjectId oldId, java.lang.String newTarget, java.lang.String name)
Create a command to switch a reference from object to symbolic.(package private) static ReceiveCommand
ReceivePack. parseCommand(java.lang.String line)
static ReceiveCommand
ReceiveCommand. unlink(java.lang.String oldTarget, ObjectId newId, java.lang.String name)
Create a command to switch a reference from symbolic to object.Methods in org.eclipse.jgit.transport that return types with arguments of type ReceiveCommand Modifier and Type Method Description static java.util.List<ReceiveCommand>
ReceiveCommand. filter(java.lang.Iterable<ReceiveCommand> in, ReceiveCommand.Result want)
Filter a collection of commands according to result.static java.util.List<ReceiveCommand>
ReceiveCommand. filter(java.util.List<ReceiveCommand> commands, ReceiveCommand.Result want)
Filter a list of commands according to result.protected java.util.List<ReceiveCommand>
ReceivePack. filterCommands(ReceiveCommand.Result want)
Filter the list of commands according to result.java.util.List<ReceiveCommand>
ReceivePack. getAllCommands()
Get all of the command received by the current request.java.util.List<ReceiveCommand>
ConnectivityChecker.ConnectivityCheckInfo. getCommands()
java.util.List<ReceiveCommand>
PushCertificate. getCommands()
Get the list of commands as one string to be feed into the signature verifier.Methods in org.eclipse.jgit.transport with parameters of type ReceiveCommand Modifier and Type Method Description void
PushCertificateParser. addCommand(ReceiveCommand cmd)
Add a command to the signature.private static boolean
PushCertificateStore. commandsEqual(ReceiveCommand c1, ReceiveCommand c2)
default void
ReceiveCommandErrorHandler. handleFastForwardCheckException(ReceiveCommand cmd, java.io.IOException e)
Handle an exception thrown while checking if the update is fast-forward.default void
ReceiveCommandErrorHandler. handleNewIdValidationException(ReceiveCommand cmd, java.io.IOException e)
Handle an exception thrown while validating the new commit ID.default void
ReceiveCommandErrorHandler. handleOldIdValidationException(ReceiveCommand cmd, java.io.IOException e)
Handle an exception thrown while validating the old commit ID.static boolean
ReceiveCommand. isTransactionAborted(ReceiveCommand cmd)
Check whether a command failed due to transaction aborted.Method parameters in org.eclipse.jgit.transport with type arguments of type ReceiveCommand Modifier and Type Method Description static void
ReceiveCommand. abort(java.lang.Iterable<ReceiveCommand> commands)
Set unprocessed commands as failed due to transaction aborted.static java.util.List<ReceiveCommand>
ReceiveCommand. filter(java.lang.Iterable<ReceiveCommand> in, ReceiveCommand.Result want)
Filter a collection of commands according to result.static java.util.List<ReceiveCommand>
ReceiveCommand. filter(java.util.List<ReceiveCommand> commands, ReceiveCommand.Result want)
Filter a list of commands according to result.default void
ReceiveCommandErrorHandler. handleBatchRefUpdateException(java.util.List<ReceiveCommand> cmds, java.io.IOException e)
Handle an exception thrown while checking if the update is fast-forward.void
PostReceiveHook. onPostReceive(ReceivePack rp, java.util.Collection<ReceiveCommand> commands)
Invoked after all commands are executed and status has been returned.void
PostReceiveHookChain. onPostReceive(ReceivePack rp, java.util.Collection<ReceiveCommand> commands)
Invoked after all commands are executed and status has been returned.void
PreReceiveHook. onPreReceive(ReceivePack rp, java.util.Collection<ReceiveCommand> commands)
Invoked just before commands are executed.void
PreReceiveHookChain. onPreReceive(ReceivePack rp, java.util.Collection<ReceiveCommand> commands)
Invoked just before commands are executed.void
PushCertificateStore. put(PushCertificate cert, PersonIdent ident, java.util.Collection<ReceiveCommand> matching)
Put a certificate to be saved to the store, matching a set of commands.void
ConnectivityChecker.ConnectivityCheckInfo. setCommands(java.util.List<ReceiveCommand> commands)
Constructor parameters in org.eclipse.jgit.transport with type arguments of type ReceiveCommand Constructor Description PendingCert(PushCertificate cert, PersonIdent ident, java.util.Collection<ReceiveCommand> matching)
PushCertificate(java.lang.String version, PushCertificateIdent pusher, java.lang.String pushee, java.lang.String nonce, PushCertificate.NonceStatus nonceStatus, java.util.List<ReceiveCommand> commands, java.lang.String signature)
-