Class ConfigurationService.AbstractBuilder<T,B extends ConfigurationService.AbstractBuilder<T,B>>
- java.lang.Object
-
- org.springframework.cloud.gateway.support.ConfigurationService.AbstractBuilder<T,B>
-
- Direct Known Subclasses:
ConfigurationService.ConfigurableBuilder
,ConfigurationService.InstanceBuilder
- Enclosing class:
- ConfigurationService
public abstract static class ConfigurationService.AbstractBuilder<T,B extends ConfigurationService.AbstractBuilder<T,B>> extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected BiFunction<T,Map<String,Object>,org.springframework.context.ApplicationEvent>
eventFunction
protected String
name
protected Map<String,Object>
normalizedProperties
protected Map<String,String>
properties
protected ConfigurationService
service
-
Constructor Summary
Constructors Constructor Description AbstractBuilder(ConfigurationService service)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description T
bind()
protected abstract T
doBind()
B
eventFunction(BiFunction<T,Map<String,Object>,org.springframework.context.ApplicationEvent> eventFunction)
protected abstract B
getThis()
B
name(String name)
B
normalizedProperties(Map<String,Object> normalizedProperties)
protected Map<String,Object>
normalizeProperties()
B
properties(Map<String,String> properties)
protected abstract void
validate()
-
-
-
Field Detail
-
service
protected final ConfigurationService service
-
eventFunction
protected BiFunction<T,Map<String,Object>,org.springframework.context.ApplicationEvent> eventFunction
-
name
protected String name
-
-
Constructor Detail
-
AbstractBuilder
public AbstractBuilder(ConfigurationService service)
-
-