java.lang.Object
org.eclipse.jgit.transport.LsRefsV2Request.Builder
- Enclosing class:
- LsRefsV2Request
A builder for
LsRefsV2Request.-
Method Summary
Modifier and TypeMethodDescriptionaddServerOption(String value) Records an application-specific option supplied in a server-option line, for later retrieval withLsRefsV2Request.getServerOptions().build()Value of an agent line received after the command and before the arguments.setClientSID(String value) Value of a session-id line received after the command and before the arguments.setPeel(boolean value) setRefPrefixes(List<String> value) setSymrefs(boolean value)
-
Method Details
-
setRefPrefixes
- Parameters:
value-- Returns:
- the Builder
-
setSymrefs
- Parameters:
value-- Returns:
- the Builder
-
setPeel
- Parameters:
value-- Returns:
- the Builder
-
addServerOption
Records an application-specific option supplied in a server-option line, for later retrieval withLsRefsV2Request.getServerOptions().- Parameters:
value- the client-supplied server-option capability, without leading "server-option=".- Returns:
- this builder
- Since:
- 5.2
-
setAgent
Value of an agent line received after the command and before the arguments. E.g. "agent=a.b.c/1.0" should set "a.b.c/1.0".- Parameters:
value- the client-supplied agent capability, without leading "agent="- Returns:
- this builder
- Since:
- 5.2
-
setClientSID
Value of a session-id line received after the command and before the arguments. E.g. "session-id=a.b.c" should set "a.b.c".- Parameters:
value- the client-supplied session-id capability, without leading "session-id="- Returns:
- this builder
- Since:
- 6.4
-
build
- Returns:
- LsRefsV2Request
-