Uses of Class
org.eclipse.jgit.transport.ReceiveCommand
Packages that use ReceiveCommand
Package
Description
Core API for repository, config, refs, object database.
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 ReceiveCommandModifier and TypeMethodDescriptionstatic ReceiveCommand
Create a ReceiveCommand for the change from oldRef to newRef -
Uses of ReceiveCommand in org.eclipse.jgit.lib
Methods in org.eclipse.jgit.lib that return types with arguments of type ReceiveCommandModifier and TypeMethodDescriptionBatchRefUpdate.getCommands()
Get commands this update will process.Methods in org.eclipse.jgit.lib with parameters of type ReceiveCommandModifier and TypeMethodDescriptionBatchRefUpdate.addCommand
(ReceiveCommand cmd) Add a single command to this batch update.BatchRefUpdate.addCommand
(ReceiveCommand... cmd) Add commands to this batch update.protected 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 ReceiveCommandModifier and TypeMethodDescriptionBatchRefUpdate.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 ReceiveCommandModifier and TypeMethodDescriptionTrackingRefUpdate.asReceiveCommand()
Get this update wrapped by a ReceiveCommand.static ReceiveCommand
Create a command to switch a symbolic reference's target.static ReceiveCommand
Create a command to switch a reference from object to symbolic.static ReceiveCommand
Create a command to switch a reference from symbolic to object.Methods in org.eclipse.jgit.transport that return types with arguments of type ReceiveCommandModifier and TypeMethodDescriptionstatic 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.ReceivePack.getAllCommands()
Get all of the command received by the current request.ConnectivityChecker.ConnectivityCheckInfo.getCommands()
Get commands received by the current requestPushCertificate.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 ReceiveCommandModifier and TypeMethodDescriptionvoid
PushCertificateParser.addCommand
(ReceiveCommand cmd) Add a command to the signature.default void
ReceiveCommandErrorHandler.handleFastForwardCheckException
(ReceiveCommand cmd, IOException e) Handle an exception thrown while checking if the update is fast-forward.default void
ReceiveCommandErrorHandler.handleNewIdValidationException
(ReceiveCommand cmd, IOException e) Handle an exception thrown while validating the new commit ID.default void
ReceiveCommandErrorHandler.handleOldIdValidationException
(ReceiveCommand cmd, 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 ReceiveCommandModifier and TypeMethodDescriptionstatic void
ReceiveCommand.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 void
ReceiveCommandErrorHandler.handleBatchRefUpdateException
(List<ReceiveCommand> cmds, IOException e) Handle an exception thrown while checking if the update is fast-forward.void
PostReceiveHook.onPostReceive
(ReceivePack rp, Collection<ReceiveCommand> commands) Invoked after all commands are executed and status has been returned.void
PostReceiveHookChain.onPostReceive
(ReceivePack rp, Collection<ReceiveCommand> commands) void
PreReceiveHook.onPreReceive
(ReceivePack rp, Collection<ReceiveCommand> commands) Invoked just before commands are executed.void
PreReceiveHookChain.onPreReceive
(ReceivePack rp, Collection<ReceiveCommand> commands) void
PushCertificateStore.put
(PushCertificate cert, PersonIdent ident, Collection<ReceiveCommand> matching) Put a certificate to be saved to the store, matching a set of commands.void
ConnectivityChecker.ConnectivityCheckInfo.setCommands
(List<ReceiveCommand> commands) Set commands received by the current request