Package io.github.primelib.jira4j.restv2
Klasse JiraRESTV2FactorySpec<T>
java.lang.Object
io.github.primelib.jira4j.restv2.JiraRESTV2FactorySpec<T>
@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator")
public final class JiraRESTV2FactorySpec<T>
extends Object
A specification to construct a
JiraRESTV2Api
instance.-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungJiraRESTV2FactorySpec
(@NotNull Consumer<JiraRESTV2FactorySpec<T>> spec) Constructs a validated implementation ofJiraRESTV2Api
. -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungapi()
The API interface to useThe API interface to usevoid
applySpec
(JiraRESTV2FactorySpec<?> spec) @Nullable List<io.github.primelib.primecodegenlib.java.feign.common.api.AuthMethod>
auth()
The authentication methods to useThe authentication methods to use@NotNull String
The name of the backend to usebackendName
(@NotNull String backendName) The name of the backend to use@NotNull String
baseUrl()
The api base URLThe api base URLbasicAuth
(Consumer<BasicAuthSpec> spec) bearerAuth
(Consumer<BearerAuthSpec> spec) boolean
int
hashCode()
io.github.primelib.primecodegenlib.java.feign.common.config.ProxySpec
httpProxy
(Consumer<io.github.primelib.primecodegenlib.java.feign.common.config.ProxySpec> proxySpec) @NotNull String
logLevel()
the feign log levelthe feign log level@NotNull io.micrometer.core.instrument.MeterRegistry
MeterRegistry to use for metricsmeterRegistry
(@NotNull io.micrometer.core.instrument.MeterRegistry meterRegistry) MeterRegistry to use for metrics@Nullable io.github.primelib.primecodegenlib.java.feign.common.config.ProxySpec
proxy()
The proxy server to use, if applicableproxy
(@Nullable io.github.primelib.primecodegenlib.java.feign.common.config.ProxySpec proxy) The proxy server to use, if applicabletoString()
void
validate()
Ensures the configured specification is valid.
-
Konstruktordetails
-
JiraRESTV2FactorySpec
Constructs a validated implementation ofJiraRESTV2Api
.- Parameter:
spec
- the specification to process
-
-
Methodendetails
-
validate
public void validate()Ensures the configured specification is valid.- Löst aus:
NullPointerException
-
httpProxy
public io.github.primelib.primecodegenlib.java.feign.common.config.ProxySpec httpProxy(Consumer<io.github.primelib.primecodegenlib.java.feign.common.config.ProxySpec> proxySpec) -
basicAuth
-
bearerAuth
-
applySpec
-
backendName
The name of the backend to use -
api
The API interface to use -
baseUrl
The api base URL -
auth
@Nullable public @Nullable List<io.github.primelib.primecodegenlib.java.feign.common.api.AuthMethod> auth()The authentication methods to use -
proxy
@Nullable public @Nullable io.github.primelib.primecodegenlib.java.feign.common.config.ProxySpec proxy()The proxy server to use, if applicableDefaults to
null
. Set toProxySpec.detect()
to detect the proxy based on the os environment automatically. -
meterRegistry
@NotNull public @NotNull io.micrometer.core.instrument.MeterRegistry meterRegistry()MeterRegistry to use for metrics -
logLevel
the feign log levelDefaults to
none
. Allowed values are:none
,basic
,headers
,full
-
backendName
The name of the backend to use- Gibt zurück:
this
.
-
api
The API interface to use- Gibt zurück:
this
.
-
baseUrl
The api base URL- Gibt zurück:
this
.
-
auth
public JiraRESTV2FactorySpec<T> auth(@Nullable @Nullable List<io.github.primelib.primecodegenlib.java.feign.common.api.AuthMethod> auth) The authentication methods to use- Gibt zurück:
this
.
-
proxy
public JiraRESTV2FactorySpec<T> proxy(@Nullable @Nullable io.github.primelib.primecodegenlib.java.feign.common.config.ProxySpec proxy) The proxy server to use, if applicableDefaults to
null
. Set toProxySpec.detect()
to detect the proxy based on the os environment automatically.- Gibt zurück:
this
.
-
meterRegistry
public JiraRESTV2FactorySpec<T> meterRegistry(@NotNull @NotNull io.micrometer.core.instrument.MeterRegistry meterRegistry) MeterRegistry to use for metrics- Gibt zurück:
this
.
-
logLevel
the feign log levelDefaults to
none
. Allowed values are:none
,basic
,headers
,full
- Gibt zurück:
this
.
-
equals
-
hashCode
public int hashCode() -
toString
-