Package com.yahoo.vespa.config
Class ConfigPayloadApplier<T extends com.yahoo.config.ConfigInstance.Builder>
- java.lang.Object
-
- com.yahoo.vespa.config.ConfigPayloadApplier<T>
-
public class ConfigPayloadApplier<T extends com.yahoo.config.ConfigInstance.Builder> extends Object
A utility class that can be used to apply a payload to a config builder. TODO: This can be refactored a lot, since many of the reflection methods are duplicated- Author:
- Ulf Lilleengen, hmusum, Tony Vaagenes
-
-
Constructor Summary
Constructors Constructor Description ConfigPayloadApplier(T builder)
ConfigPayloadApplier(T builder, ConfigTransformer.PathAcquirer pathAcquirer, UrlDownloader urlDownloader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
applyPayload(ConfigPayload payload)
-
-
-
Constructor Detail
-
ConfigPayloadApplier
public ConfigPayloadApplier(T builder)
-
ConfigPayloadApplier
public ConfigPayloadApplier(T builder, ConfigTransformer.PathAcquirer pathAcquirer, UrlDownloader urlDownloader)
-
-
Method Detail
-
applyPayload
public void applyPayload(ConfigPayload payload)
-
-