java.lang.Object
org.eclipse.jgit.transport.OperationResult
org.eclipse.jgit.transport.PushResult
Result of push operation to the remote repository. Holding information of
OperationResult
and remote refs updates
status.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetRemoteUpdate
(String refName) Get status of specific remote ref update by remote ref name.Get status of remote refs updates.Methods inherited from class org.eclipse.jgit.transport.OperationResult
getAdvertisedRef, getAdvertisedRefs, getMessages, getPeerUserAgent, getTrackingRefUpdate, getTrackingRefUpdates, getURI
-
Constructor Details
-
PushResult
public PushResult()
-
-
Method Details
-
getRemoteUpdates
Get status of remote refs updates. Together withOperationResult.getAdvertisedRefs()
it provides full description/status of each ref update.Returned collection is not sorted in any order.
- Returns:
- collection of remote refs updates
-
getRemoteUpdate
Get status of specific remote ref update by remote ref name. Together withOperationResult.getAdvertisedRef(String)
it provide full description/status of this ref update.- Parameters:
refName
- remote ref name- Returns:
- status of remote ref update
-