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
ConstructorsModifierConstructorDescriptionprotectedCreate an instance providing a builder. -
Method Summary
Modifier and TypeMethodDescriptionbuild()Create a new instance of the runtime type from this config object.AnHttp1ClientConfig.Builderused to build an internal client for communicating with a Eureka server.booleanenabled()Whether this feature will be enabled.booleanget()inthashCode()AnInstanceInfoConfigdescribing the service instance to be registered.AJsonBuilderFactoryused for working with JSON internally; the default value is normally entirely suitable.name()The non-nullname of this instance; "eureka" is a default value.toString()doubleweight()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.FactoryCreate a new instance of the runtime type from this config object.- Specified by:
buildin interfacePrototype.Factory<EurekaRegistrationServerFeature>- Returns:
- new configured runtime instance
-
get
- Specified by:
getin interfaceSupplier<EurekaRegistrationServerFeature>
-
clientBuilderSupplier
Description copied from interface:EurekaRegistrationConfigAnHttp1ClientConfig.Builderused to build an internal client for communicating with a Eureka server.An
Http1ClientConfigbuilt from the supplied builder must have itsHttpClientConfig.baseUri()property set to address a Eureka Server instance.- Specified by:
clientBuilderSupplierin interfaceEurekaRegistrationConfig- Returns:
- an
Http1ClientConfig.Builder
-
instanceInfo
Description copied from interface:EurekaRegistrationConfigAnInstanceInfoConfigdescribing the service instance to be registered.- Specified by:
instanceInfoin interfaceEurekaRegistrationConfig- Returns:
- the
InstanceInfoConfigdescribing the service instance to be registered - See Also:
-
jsonBuilderFactory
Description copied from interface:EurekaRegistrationConfigAJsonBuilderFactoryused for working with JSON internally; the default value is normally entirely suitable.- Specified by:
jsonBuilderFactoryin interfaceEurekaRegistrationConfig- Returns:
- a
JsonBuilderFactory
-
enabled
public boolean enabled()Description copied from interface:EurekaRegistrationConfigWhether this feature will be enabled.- Specified by:
enabledin interfaceEurekaRegistrationConfig- Returns:
- whether this feature will be enabled
-
name
Description copied from interface:EurekaRegistrationConfigThe non-nullname of this instance; "eureka" is a default value.- Specified by:
namein interfaceEurekaRegistrationConfig- Returns:
- the non-
nullname of this instance; "eureka" is a default value
-
weight
public double weight()Description copied from interface:EurekaRegistrationConfigThe (zero or positive) weight of this instance.- Specified by:
weightin interfaceEurekaRegistrationConfig- Returns:
- the (zero or positive) weight of this instance
-
toString
-
equals
-
hashCode
public int hashCode()
-