public static final class LsRefsV2Request.Builder extends Object
LsRefsV2Request
.Modifier and Type | Method and Description |
---|---|
LsRefsV2Request.Builder |
addServerOption(String value)
Records an application-specific option supplied in a server-option
line, for later retrieval with
LsRefsV2Request.getServerOptions() . |
LsRefsV2Request |
build() |
LsRefsV2Request.Builder |
setAgent(String value)
Value of an agent line received after the command and before the
arguments.
|
LsRefsV2Request.Builder |
setPeel(boolean value) |
LsRefsV2Request.Builder |
setRefPrefixes(List<String> value) |
LsRefsV2Request.Builder |
setSymrefs(boolean value) |
public LsRefsV2Request.Builder setRefPrefixes(List<String> value)
value
- public LsRefsV2Request.Builder setSymrefs(boolean value)
value
- public LsRefsV2Request.Builder setPeel(boolean value)
value
- public LsRefsV2Request.Builder addServerOption(@NonNull String value)
LsRefsV2Request.getServerOptions()
.value
- the client-supplied server-option capability, without
leading "server-option=".public LsRefsV2Request.Builder setAgent(@Nullable String value)
value
- the client-supplied agent capability, without leading
"agent="public LsRefsV2Request build()
Copyright © 2021 Eclipse JGit Project. All rights reserved.