final class TrackingRefUpdate.Command extends ReceiveCommand
ReceiveCommand.Result, ReceiveCommand.Type| Constructor and Description |
|---|
Command() |
| Modifier and Type | Method and Description |
|---|---|
(package private) boolean |
canForceUpdate() |
private RefUpdate.Result |
decode(ReceiveCommand.Result status) |
void |
setResult(ReceiveCommand.Result status)
Set the status of this command.
|
void |
setResult(ReceiveCommand.Result status,
java.lang.String msg)
Set the status of this command.
|
void |
setResult(RefUpdate.Result status)
Set the result of this command.
|
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, updateTypeboolean canForceUpdate()
public void setResult(RefUpdate.Result status)
ReceiveCommandsetResult in class ReceiveCommandstatus - the new result code for this command.public void setResult(ReceiveCommand.Result status)
ReceiveCommandsetResult in class ReceiveCommandstatus - the new status code for this command.public void setResult(ReceiveCommand.Result status, java.lang.String msg)
ReceiveCommandsetResult in class ReceiveCommandstatus - new status code for this command.msg - optional message explaining the new status.private RefUpdate.Result decode(ReceiveCommand.Result status)