Top Description Inners Fields Constructors Methods
org.eclipse.jgit.transport

public final Class ObjectInfoRequest

extends Object
Class Inheritance
Imports
java.util.Collections, .List, org.eclipse.jgit.lib.ObjectId

object-info request.

This is the parsed request for an object-info call, used as input to ProtocolV2Hook.

Since
5.13
See Also
object-info documentation

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
private final List<ObjectId>

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static ObjectInfoRequest.Builder

Returns:

A builder of ObjectInfoRequest.
builder
()

Create builder

public List<ObjectId>

Returns:

object IDs that the client requested.
getObjectIDs
()

Get object ids requested by the client

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

objectIDsback to summary
private final List<ObjectId> objectIDs

Constructor Detail

ObjectInfoRequestback to summary
private ObjectInfoRequest(List<ObjectId> objectIDs)

Method Detail

builderback to summary
public static ObjectInfoRequest.Builder builder()

Create builder

Returns:ObjectInfoRequest.Builder

A builder of ObjectInfoRequest.

getObjectIDsback to summary
public List<ObjectId> getObjectIDs()

Get object ids requested by the client

Returns:List<ObjectId>

object IDs that the client requested.

org.eclipse.jgit.transport back to summary

public final Class ObjectInfoRequest.Builder

extends Object
Class Inheritance

A builder for ObjectInfoRequest.

Field Summary

Modifier and TypeField and Description
private List<ObjectId>

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public ObjectInfoRequest

Returns:

ObjectInfoRequest the request
build
()

Build the request

public ObjectInfoRequest.Builder

Returns:

the Builder
setObjectIDs
(List<ObjectId>
of objectIds
value
)

Set object ids

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

objectIDsback to summary
private List<ObjectId> objectIDs

Constructor Detail

Builderback to summary
private Builder()

Method Detail

buildback to summary
public ObjectInfoRequest build()

Build the request

Returns:ObjectInfoRequest

ObjectInfoRequest the request

setObjectIDsback to summary
public ObjectInfoRequest.Builder setObjectIDs(List<ObjectId> value)

Set object ids

Parameters
value:List<ObjectId>

of objectIds

Returns:ObjectInfoRequest.Builder

the Builder