Package org.eclipse.jgit.transport
Class TrackingRefUpdate.Command
java.lang.Object
org.eclipse.jgit.transport.ReceiveCommand
org.eclipse.jgit.transport.TrackingRefUpdate.Command
- Enclosing class:
- TrackingRefUpdate
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.jgit.transport.ReceiveCommand
ReceiveCommand.Result, ReceiveCommand.Type
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) boolean
private RefUpdate.Result
decode
(ReceiveCommand.Result status) void
setResult
(RefUpdate.Result status) Set the result of this command.void
setResult
(ReceiveCommand.Result status) Set the status of this command.void
setResult
(ReceiveCommand.Result status, String msg) Set the status of this command.Methods inherited from class org.eclipse.jgit.transport.ReceiveCommand
abort, disableRefLog, execute, filter, filter, getMessage, getNewId, getNewSymref, getOldId, getOldSymref, getRef, getRefLogMessage, getRefName, getResult, getType, hasCustomRefLog, isForceRefLog, isRefLogDisabled, isRefLogIncludingResult, isTransactionAborted, link, link, reject, setForceRefLog, setRef, setRefLogMessage, setType, setTypeFastForwardUpdate, toString, unlink, updateType
-
Constructor Details
-
Command
Command()
-
-
Method Details
-
canForceUpdate
boolean canForceUpdate() -
setResult
Description copied from class:ReceiveCommand
Set the result of this command.- Overrides:
setResult
in classReceiveCommand
- Parameters:
status
- the new result code for this command.
-
setResult
Description copied from class:ReceiveCommand
Set the status of this command.- Overrides:
setResult
in classReceiveCommand
- Parameters:
status
- the new status code for this command.
-
setResult
Description copied from class:ReceiveCommand
Set the status of this command.- Overrides:
setResult
in classReceiveCommand
- Parameters:
status
- new status code for this command.msg
- optional message explaining the new status.
-
decode
-