Uses of Class
org.eclipse.jgit.transport.ReceiveCommand
Packages that use ReceiveCommand
Package
Description
File based repository storage.
Core API for repository, config, refs, object database.
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 ReceiveCommandModifier and TypeMethodDescriptionprivate static void
PackedBatchRefUpdate.lockFailure
(ReceiveCommand cmd, List<ReceiveCommand> commands) private static Ref
PackedBatchRefUpdate.peeledRef
(RevWalk walk, ReceiveCommand cmd) private static void
PackedBatchRefUpdate.reject
(ReceiveCommand cmd, ReceiveCommand.Result result, String why, List<ReceiveCommand> commands) private static void
PackedBatchRefUpdate.reject
(ReceiveCommand cmd, ReceiveCommand.Result result, List<ReceiveCommand> commands) private String
PackedBatchRefUpdate.toResultString
(ReceiveCommand cmd) Method parameters in org.eclipse.jgit.internal.storage.file with type arguments of type ReceiveCommandModifier and TypeMethodDescriptionPackedBatchRefUpdate.applyUpdates
(RevWalk walk, RefList<Ref> refs, List<ReceiveCommand> commands) private boolean
PackedBatchRefUpdate.checkConflictingNames
(List<ReceiveCommand> commands) private boolean
PackedBatchRefUpdate.checkNonFastForwards
(RevWalk walk, List<ReceiveCommand> commands) private boolean
PackedBatchRefUpdate.checkObjectExistence
(RevWalk walk, List<ReceiveCommand> commands) private static boolean
PackedBatchRefUpdate.containsSymrefs
(List<ReceiveCommand> commands) private static void
PackedBatchRefUpdate.lockFailure
(ReceiveCommand cmd, List<ReceiveCommand> commands) PackedBatchRefUpdate.lockLooseRefs
(List<ReceiveCommand> commands) Lock loose refs corresponding to a list of commands.private static void
PackedBatchRefUpdate.reject
(ReceiveCommand cmd, ReceiveCommand.Result result, String why, List<ReceiveCommand> commands) private static void
PackedBatchRefUpdate.reject
(ReceiveCommand cmd, ReceiveCommand.Result result, List<ReceiveCommand> commands) private void
PackedBatchRefUpdate.writeReflog
(List<ReceiveCommand> commands) -
Uses of ReceiveCommand in org.eclipse.jgit.internal.storage.reftable
Methods in org.eclipse.jgit.internal.storage.reftable that return ReceiveCommandMethods in org.eclipse.jgit.internal.storage.reftable that return types with arguments of type ReceiveCommandModifier and TypeMethodDescriptionprivate List
<ReceiveCommand> ReftableBatchRefUpdate.getPending()
Methods in org.eclipse.jgit.internal.storage.reftable with parameters of type ReceiveCommandModifier and TypeMethodDescriptionprivate static boolean
ReftableBatchRefUpdate.matchOld
(ReceiveCommand cmd, Ref ref) private String
ReftableBatchRefUpdate.toResultString
(ReceiveCommand cmd) Method parameters in org.eclipse.jgit.internal.storage.reftable with type arguments of type ReceiveCommandModifier and TypeMethodDescriptionprivate boolean
ReftableBatchRefUpdate.checkConflicting
(List<ReceiveCommand> pending) private boolean
ReftableBatchRefUpdate.checkExpected
(List<ReceiveCommand> pending) private boolean
ReftableBatchRefUpdate.checkNonFastForwards
(RevWalk rw, List<ReceiveCommand> pending) private boolean
ReftableBatchRefUpdate.checkObjectExistence
(RevWalk rw, List<ReceiveCommand> pending) ReftableBatchRefUpdate.toNewRefs
(RevWalk rw, List<ReceiveCommand> pending) private void
ReftableBatchRefUpdate.writeLog
(ReftableWriter writer, long updateIndex, 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 ReceiveCommandModifier and TypeMethodDescriptionIterativeConnectivityChecker.getAllObjectIds
(List<ReceiveCommand> commands) -
Uses of ReceiveCommand in org.eclipse.jgit.lib
Fields in org.eclipse.jgit.lib with type parameters of type ReceiveCommandModifier and TypeFieldDescriptionprivate final List
<ReceiveCommand> BatchRefUpdate.commands
Commands to apply during this batch.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
Subclasses of ReceiveCommand in org.eclipse.jgit.transportFields in org.eclipse.jgit.transport declared as ReceiveCommandFields in org.eclipse.jgit.transport with type parameters of type ReceiveCommandModifier and TypeFieldDescriptionprivate List
<ReceiveCommand> ConnectivityChecker.ConnectivityCheckInfo.commands
private final List
<ReceiveCommand> PushCertificate.commands
private final List
<ReceiveCommand> PushCertificateParser.commands
private List
<ReceiveCommand> ReceivePack.commands
(package private) Collection
<ReceiveCommand> PushCertificateStore.PendingCert.matching
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.(package private) static ReceiveCommand
ReceivePack.parseCommand
(String line) 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()
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 ReceiveCommandModifier and TypeMethodDescriptionvoid
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, 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) 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) Constructor parameters in org.eclipse.jgit.transport with type arguments of type ReceiveCommandModifierConstructorDescription(package private)
PendingCert
(PushCertificate cert, PersonIdent ident, Collection<ReceiveCommand> matching) (package private)
PushCertificate
(String version, PushCertificateIdent pusher, String pushee, String nonce, PushCertificate.NonceStatus nonceStatus, List<ReceiveCommand> commands, String signature)