io.kroxylicious.proxy.config.admin.EndpointsConfigurationBuilder 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.admin;
import io.kroxylicious.proxy.config.model.VisitableBuilder;
public class EndpointsConfigurationBuilder extends EndpointsConfigurationFluent implements VisitableBuilder{
public EndpointsConfigurationBuilder() {
this.fluent = this;
}
public EndpointsConfigurationBuilder(EndpointsConfigurationFluent> fluent) {
this.fluent = fluent;
}
public EndpointsConfigurationBuilder(EndpointsConfigurationFluent> fluent,EndpointsConfiguration instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public EndpointsConfigurationBuilder(EndpointsConfiguration instance) {
this.fluent = this;
this.copyInstance(instance);
}
EndpointsConfigurationFluent> fluent;
public EndpointsConfiguration build() {
EndpointsConfiguration buildable = new EndpointsConfiguration(fluent.buildPrometheus());
return buildable;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy