Uses of Class
org.eclipse.jgit.transport.ReceiveCommand
-
Packages that use ReceiveCommand Package Description org.eclipse.jgit.internal.storage.reftable 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.reftable
Methods in org.eclipse.jgit.internal.storage.reftable that return ReceiveCommand Modifier and Type Method Description static ReceiveCommandReftableDatabase. toCommand(Ref oldRef, Ref newRef) -
Uses of ReceiveCommand in org.eclipse.jgit.lib
Methods in org.eclipse.jgit.lib that return types with arguments of type ReceiveCommand Modifier and Type Method Description 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 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(Collection<ReceiveCommand> cmd)Add commands to this batch update. -
Uses of ReceiveCommand in org.eclipse.jgit.transport
Methods 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(String oldTarget, String newTarget, String name)Create a command to switch a symbolic reference's target.static ReceiveCommandReceiveCommand. link(ObjectId oldId, String newTarget, String name)Create a command to switch a reference from object to symbolic.static ReceiveCommandReceiveCommand. unlink(String oldTarget, ObjectId newId, 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 List<ReceiveCommand>ReceiveCommand. filter(Iterable<ReceiveCommand> in, ReceiveCommand.Result want)Filter a collection of commands according to result.static List<ReceiveCommand>ReceiveCommand. filter(List<ReceiveCommand> commands, ReceiveCommand.Result want)Filter a list of commands according to result.protected List<ReceiveCommand>ReceivePack. filterCommands(ReceiveCommand.Result want)Filter the list of commands according to result.List<ReceiveCommand>ReceivePack. getAllCommands()Get all of the command received by the current request.List<ReceiveCommand>ConnectivityChecker.ConnectivityCheckInfo. getCommands()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.default voidReceiveCommandErrorHandler. handleFastForwardCheckException(ReceiveCommand cmd, IOException e)Handle an exception thrown while checking if the update is fast-forward.default voidReceiveCommandErrorHandler. handleNewIdValidationException(ReceiveCommand cmd, IOException e)Handle an exception thrown while validating the new commit ID.default voidReceiveCommandErrorHandler. handleOldIdValidationException(ReceiveCommand cmd, 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(Iterable<ReceiveCommand> commands)Set unprocessed commands as failed due to transaction aborted.static List<ReceiveCommand>ReceiveCommand. filter(Iterable<ReceiveCommand> in, ReceiveCommand.Result want)Filter a collection of commands according to result.static List<ReceiveCommand>ReceiveCommand. filter(List<ReceiveCommand> commands, ReceiveCommand.Result want)Filter a list of commands according to result.default voidReceiveCommandErrorHandler. handleBatchRefUpdateException(List<ReceiveCommand> cmds, IOException e)Handle an exception thrown while checking if the update is fast-forward.voidPostReceiveHook. onPostReceive(ReceivePack rp, Collection<ReceiveCommand> commands)Invoked after all commands are executed and status has been returned.voidPostReceiveHookChain. onPostReceive(ReceivePack rp, Collection<ReceiveCommand> commands)Invoked after all commands are executed and status has been returned.voidPreReceiveHook. onPreReceive(ReceivePack rp, Collection<ReceiveCommand> commands)Invoked just before commands are executed.voidPreReceiveHookChain. onPreReceive(ReceivePack rp, Collection<ReceiveCommand> commands)Invoked just before commands are executed.voidPushCertificateStore. put(PushCertificate cert, PersonIdent ident, Collection<ReceiveCommand> matching)Put a certificate to be saved to the store, matching a set of commands.voidConnectivityChecker.ConnectivityCheckInfo. setCommands(List<ReceiveCommand> commands)
-