Example usage for Java org.eclipse.jgit.transport RemoteRefUpdate fields, constructors, methods, implement or subclass
The text is from its open source code.
RemoteRefUpdate(final Repository localDb, final String srcRef, final String remoteName, final boolean forceUpdate, final String localName, final ObjectId expectedOldObjectId) Construct remote ref update request by providing an update specification. | |
RemoteRefUpdate(final Repository localDb, final Ref srcRef, final String remoteName, final boolean forceUpdate, final String localName, final ObjectId expectedOldObjectId) Construct remote ref update request by providing an update specification. | |
RemoteRefUpdate(final Repository localDb, final String srcRef, final ObjectId srcId, final String remoteName, final boolean forceUpdate, final String localName, final ObjectId expectedOldObjectId) Construct remote ref update request by providing an update specification. | |
RemoteRefUpdate(final RemoteRefUpdate base, final ObjectId newExpectedOldObjectId) Create a new instance of this object basing on existing instance for configuration. |
ObjectId | getExpectedOldObjectId() Get expected old object id |
String | getMessage() Get message describing reasons of status when needed/possible; may be null. |
ObjectId | getNewObjectId() Get new object id |
String | getRemoteName() Get name of remote ref to update |
String | getSrcRef() Get source revision as specified by user (in constructor) |
Status | getStatus() Get status of remote ref update operation. |
TrackingRefUpdate | getTrackingRefUpdate() Get tracking branch update if localName was set in constructor. |
boolean | isDelete() Whether this update is a deleting update |
boolean | isExpectingOldObjectId() Whether some object is required to be advertised by remote side, as set in constructor |
boolean | isFastForward() Check whether update was fast-forward. |
boolean | isForceUpdate() Whether this update is forced regardless of old remote ref object |
String | toString() |