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 usevoidapplySpec(JiraRESTV2FactorySpec<?> spec) @Nullable List<AuthMethod>auth()The authentication methods to useauth(@Nullable List<AuthMethod> auth) The authentication methods to use@NotNull StringThe name of the backend to usebackendName(@NotNull String backendName) The name of the backend to use@NotNull StringbaseUrl()The api base URLThe api base URLbasicAuth(Consumer<BasicAuthSpec> spec) bearerAuth(Consumer<BearerAuthSpec> spec) booleaninthashCode()httpProxy(Consumer<JiraRESTV2ProxySpec> proxySpec) @NotNull StringlogLevel()the feign log levelthe feign log level@NotNull io.micrometer.core.instrument.MeterRegistryMeterRegistry to use for metricsmeterRegistry(@NotNull io.micrometer.core.instrument.MeterRegistry meterRegistry) MeterRegistry to use for metrics@Nullable JiraRESTV2ProxySpecproxy()The proxy server to use, if applicableproxy(@Nullable JiraRESTV2ProxySpec proxy) The proxy server to use, if applicabletoString()voidvalidate()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
-
basicAuth
-
bearerAuth
-
applySpec
-
backendName
The name of the backend to use -
api
The API interface to use -
baseUrl
The api base URL -
auth
The authentication methods to use -
proxy
The proxy server to use, if applicableDefaults to
null. Set toJiraRESTV2ProxySpec.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
The authentication methods to use- Gibt zurück:
this.
-
proxy
The proxy server to use, if applicableDefaults to
null. Set toJiraRESTV2ProxySpec.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
-