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 voidPackedBatchRefUpdate. lockFailure(ReceiveCommand cmd, java.util.List<ReceiveCommand> commands)private static RefPackedBatchRefUpdate. peeledRef(RevWalk walk, ReceiveCommand cmd)private static voidPackedBatchRefUpdate. reject(ReceiveCommand cmd, ReceiveCommand.Result result, java.lang.String why, java.util.List<ReceiveCommand> commands)private static voidPackedBatchRefUpdate. reject(ReceiveCommand cmd, ReceiveCommand.Result result, java.util.List<ReceiveCommand> commands)private java.lang.StringPackedBatchRefUpdate. 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 booleanPackedBatchRefUpdate. checkConflictingNames(java.util.List<ReceiveCommand> commands)private booleanPackedBatchRefUpdate. checkNonFastForwards(RevWalk walk, java.util.List<ReceiveCommand> commands)private booleanPackedBatchRefUpdate. checkObjectExistence(RevWalk walk, java.util.List<ReceiveCommand> commands)private static booleanPackedBatchRefUpdate. containsSymrefs(java.util.List<ReceiveCommand> commands)private static voidPackedBatchRefUpdate. 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 voidPackedBatchRefUpdate. reject(ReceiveCommand cmd, ReceiveCommand.Result result, java.lang.String why, java.util.List<ReceiveCommand> commands)private static voidPackedBatchRefUpdate. reject(ReceiveCommand cmd, ReceiveCommand.Result result, java.util.List<ReceiveCommand> commands)private voidPackedBatchRefUpdate. 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 ReceiveCommandReftableDatabase. 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 booleanReftableBatchRefUpdate. matchOld(ReceiveCommand cmd, Ref ref)private java.lang.StringReftableBatchRefUpdate. toResultString(ReceiveCommand cmd)Method parameters in org.eclipse.jgit.internal.storage.reftable with type arguments of type ReceiveCommand Modifier and Type Method Description private booleanReftableBatchRefUpdate. checkConflicting(java.util.List<ReceiveCommand> pending)private booleanReftableBatchRefUpdate. checkExpected(java.util.List<ReceiveCommand> pending)private booleanReftableBatchRefUpdate. checkNonFastForwards(RevWalk rw, java.util.List<ReceiveCommand> pending)private booleanReftableBatchRefUpdate. checkObjectExistence(RevWalk rw, java.util.List<ReceiveCommand> pending)private static java.util.List<Ref>ReftableBatchRefUpdate. toNewRefs(RevWalk rw, java.util.List<ReceiveCommand> pending)private voidReftableBatchRefUpdate. 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. commandsCommands 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 BatchRefUpdateBatchRefUpdate. addCommand(ReceiveCommand cmd)Add a single command to this batch update.BatchRefUpdateBatchRefUpdate. addCommand(ReceiveCommand... cmd)Add commands to this batch update.protected java.lang.StringBatchRefUpdate. getRefLogMessage(ReceiveCommand cmd)Get reflog message for a command.protected booleanBatchRefUpdate. isForceRefLog(ReceiveCommand cmd)Check whether the reflog for a command should be written regardless of repo defaults.protected booleanBatchRefUpdate. isRefLogDisabled(ReceiveCommand cmd)Check whether reflog is disabled for a command.protected booleanBatchRefUpdate. isRefLogIncludingResult(ReceiveCommand cmd)Check whether the reflog message for a command should include the result.protected RefUpdateBatchRefUpdate. 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 BatchRefUpdateBatchRefUpdate. 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) classTrackingRefUpdate.CommandFields in org.eclipse.jgit.transport declared as ReceiveCommand Modifier and Type Field Description private ReceiveCommandTrackingRefUpdate. cmdFields in org.eclipse.jgit.transport with type parameters of type ReceiveCommand Modifier and Type Field Description private java.util.List<ReceiveCommand>ConnectivityChecker.ConnectivityCheckInfo. commandsprivate java.util.List<ReceiveCommand>PushCertificate. commandsprivate java.util.List<ReceiveCommand>PushCertificateParser. commandsprivate java.util.List<ReceiveCommand>ReceivePack. commands(package private) java.util.Collection<ReceiveCommand>PushCertificateStore.PendingCert. matchingMethods in org.eclipse.jgit.transport that return ReceiveCommand Modifier and Type Method Description ReceiveCommandTrackingRefUpdate. asReceiveCommand()Get this update wrapped by a ReceiveCommand.static ReceiveCommandReceiveCommand. link(java.lang.String oldTarget, java.lang.String newTarget, java.lang.String name)Create a command to switch a symbolic reference's target.static ReceiveCommandReceiveCommand. 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 ReceiveCommandReceivePack. parseCommand(java.lang.String line)static ReceiveCommandReceiveCommand. 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 voidPushCertificateParser. addCommand(ReceiveCommand cmd)Add a command to the signature.private static booleanPushCertificateStore. commandsEqual(ReceiveCommand c1, ReceiveCommand c2)default voidReceiveCommandErrorHandler. handleFastForwardCheckException(ReceiveCommand cmd, java.io.IOException e)Handle an exception thrown while checking if the update is fast-forward.default voidReceiveCommandErrorHandler. handleNewIdValidationException(ReceiveCommand cmd, java.io.IOException e)Handle an exception thrown while validating the new commit ID.default voidReceiveCommandErrorHandler. handleOldIdValidationException(ReceiveCommand cmd, java.io.IOException e)Handle an exception thrown while validating the old commit ID.static booleanReceiveCommand. 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 voidReceiveCommand. 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 voidReceiveCommandErrorHandler. handleBatchRefUpdateException(java.util.List<ReceiveCommand> cmds, java.io.IOException e)Handle an exception thrown while checking if the update is fast-forward.voidPostReceiveHook. onPostReceive(ReceivePack rp, java.util.Collection<ReceiveCommand> commands)Invoked after all commands are executed and status has been returned.voidPostReceiveHookChain. onPostReceive(ReceivePack rp, java.util.Collection<ReceiveCommand> commands)Invoked after all commands are executed and status has been returned.voidPreReceiveHook. onPreReceive(ReceivePack rp, java.util.Collection<ReceiveCommand> commands)Invoked just before commands are executed.voidPreReceiveHookChain. onPreReceive(ReceivePack rp, java.util.Collection<ReceiveCommand> commands)Invoked just before commands are executed.voidPushCertificateStore. put(PushCertificate cert, PersonIdent ident, java.util.Collection<ReceiveCommand> matching)Put a certificate to be saved to the store, matching a set of commands.voidConnectivityChecker.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)
-