io.kroxylicious.proxy.config.ConfigurationBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kroxylicious-integration-test-support Show documentation
Show all versions of kroxylicious-integration-test-support Show documentation
Support code to simplify writing integration tests for filters
package io.kroxylicious.proxy.config;
import io.kroxylicious.proxy.config.model.VisitableBuilder;
public class ConfigurationBuilder extends ConfigurationFluent implements VisitableBuilder{
public ConfigurationBuilder() {
this.fluent = this;
}
public ConfigurationBuilder(ConfigurationFluent> fluent) {
this.fluent = fluent;
}
public ConfigurationBuilder(ConfigurationFluent> fluent,Configuration instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public ConfigurationBuilder(Configuration instance) {
this.fluent = this;
this.copyInstance(instance);
}
ConfigurationFluent> fluent;
public Configuration build() {
Configuration buildable = new Configuration(fluent.buildAdminHttp(),fluent.getVirtualClusters(),fluent.getFilters(),fluent.getMicrometer(),fluent.isUseIoUring());
return buildable;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy