Package io.helidon.integrations.eureka
Class EurekaRegistrationConfig.BuilderBase.EurekaRegistrationConfigImpl
java.lang.Object
io.helidon.integrations.eureka.EurekaRegistrationConfig.BuilderBase.EurekaRegistrationConfigImpl
- All Implemented Interfaces:
Prototype.Api
,Prototype.Factory<EurekaRegistrationServerFeature>
,EurekaRegistrationConfig
,Supplier<EurekaRegistrationServerFeature>
- Enclosing class:
EurekaRegistrationConfig.BuilderBase<BUILDER extends EurekaRegistrationConfig.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends EurekaRegistrationConfig>
protected static class EurekaRegistrationConfig.BuilderBase.EurekaRegistrationConfigImpl
extends Object
implements EurekaRegistrationConfig, Supplier<EurekaRegistrationServerFeature>
Generated implementation of the prototype, can be extended by descendant prototype implementations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.helidon.integrations.eureka.EurekaRegistrationConfig
EurekaRegistrationConfig.Builder, EurekaRegistrationConfig.BuilderBase<BUILDER extends EurekaRegistrationConfig.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends EurekaRegistrationConfig> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Create an instance providing a builder. -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Create a new instance of the runtime type from this config object.AnHttp1ClientConfig.Builder
used to build an internal client for communicating with a Eureka server.boolean
enabled()
Whether this feature will be enabled.boolean
get()
int
hashCode()
AnInstanceInfoConfig
describing the service instance to be registered.AJsonBuilderFactory
used for working with JSON internally; the default value is normally entirely suitable.name()
The non-null
name of this instance; "eureka" is a default value.toString()
double
weight()
The (zero or positive) weight of this instance.
-
Constructor Details
-
EurekaRegistrationConfigImpl
Create an instance providing a builder.- Parameters:
builder
- extending builder base of this prototype
-
-
Method Details
-
build
Description copied from interface:Prototype.Factory
Create a new instance of the runtime type from this config object.- Specified by:
build
in interfacePrototype.Factory<EurekaRegistrationServerFeature>
- Returns:
- new configured runtime instance
-
get
- Specified by:
get
in interfaceSupplier<EurekaRegistrationServerFeature>
-
clientBuilderSupplier
Description copied from interface:EurekaRegistrationConfig
AnHttp1ClientConfig.Builder
used to build an internal client for communicating with a Eureka server.An
Http1ClientConfig
built from the supplied builder must have itsHttpClientConfig.baseUri()
property set to address a Eureka Server instance.- Specified by:
clientBuilderSupplier
in interfaceEurekaRegistrationConfig
- Returns:
- an
Http1ClientConfig.Builder
-
instanceInfo
Description copied from interface:EurekaRegistrationConfig
AnInstanceInfoConfig
describing the service instance to be registered.- Specified by:
instanceInfo
in interfaceEurekaRegistrationConfig
- Returns:
- the
InstanceInfoConfig
describing the service instance to be registered - See Also:
-
jsonBuilderFactory
Description copied from interface:EurekaRegistrationConfig
AJsonBuilderFactory
used for working with JSON internally; the default value is normally entirely suitable.- Specified by:
jsonBuilderFactory
in interfaceEurekaRegistrationConfig
- Returns:
- a
JsonBuilderFactory
-
enabled
public boolean enabled()Description copied from interface:EurekaRegistrationConfig
Whether this feature will be enabled.- Specified by:
enabled
in interfaceEurekaRegistrationConfig
- Returns:
- whether this feature will be enabled
-
name
Description copied from interface:EurekaRegistrationConfig
The non-null
name of this instance; "eureka" is a default value.- Specified by:
name
in interfaceEurekaRegistrationConfig
- Returns:
- the non-
null
name of this instance; "eureka" is a default value
-
weight
public double weight()Description copied from interface:EurekaRegistrationConfig
The (zero or positive) weight of this instance.- Specified by:
weight
in interfaceEurekaRegistrationConfig
- Returns:
- the (zero or positive) weight of this instance
-
toString
-
equals
-
hashCode
public int hashCode()
-