public class PushResult extends OperationResult
OperationResult
and remote refs updates
status.Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.String,RemoteRefUpdate> |
remoteUpdates |
advertisedRefs, messageBuffer, peerUserAgent, updates, uri
Constructor and Description |
---|
PushResult() |
Modifier and Type | Method and Description |
---|---|
RemoteRefUpdate |
getRemoteUpdate(java.lang.String refName)
Get status of specific remote ref update by remote ref name.
|
java.util.Collection<RemoteRefUpdate> |
getRemoteUpdates()
Get status of remote refs updates.
|
(package private) void |
setRemoteUpdates(java.util.Map<java.lang.String,RemoteRefUpdate> remoteUpdates) |
add, addMessages, getAdvertisedRef, getAdvertisedRefs, getMessages, getPeerUserAgent, getTrackingRefUpdate, getTrackingRefUpdates, getURI, setAdvertisedRefs
private java.util.Map<java.lang.String,RemoteRefUpdate> remoteUpdates
public java.util.Collection<RemoteRefUpdate> getRemoteUpdates()
OperationResult.getAdvertisedRefs()
it provides full description/status of each
ref update.
Returned collection is not sorted in any order.
public RemoteRefUpdate getRemoteUpdate(java.lang.String refName)
OperationResult.getAdvertisedRef(String)
it provide full description/status
of this ref update.refName
- remote ref namevoid setRemoteUpdates(java.util.Map<java.lang.String,RemoteRefUpdate> remoteUpdates)