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 ReceiveCommand
ReftableDatabase. 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 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 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(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 ReceiveCommand
TrackingRefUpdate. asReceiveCommand()
Get this update wrapped by a ReceiveCommand.static ReceiveCommand
ReceiveCommand. link(String oldTarget, String newTarget, String name)
Create a command to switch a symbolic reference's target.static ReceiveCommand
ReceiveCommand. link(ObjectId oldId, String newTarget, String name)
Create a command to switch a reference from object to symbolic.static ReceiveCommand
ReceiveCommand. 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 void
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 ReceiveCommand Modifier and Type Method Description static 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)
Invoked after all commands are executed and status has been returned.void
PreReceiveHook. onPreReceive(ReceivePack rp, Collection<ReceiveCommand> commands)
Invoked just before commands are executed.void
PreReceiveHookChain. onPreReceive(ReceivePack rp, Collection<ReceiveCommand> commands)
Invoked just before commands are executed.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)
-