io.kroxylicious.proxy.config.VirtualClusterBuilder 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
The newest version!
package io.kroxylicious.proxy.config;
import io.kroxylicious.proxy.config.model.VisitableBuilder;
public class VirtualClusterBuilder extends VirtualClusterFluent implements VisitableBuilder{
public VirtualClusterBuilder() {
this.fluent = this;
}
public VirtualClusterBuilder(VirtualClusterFluent> fluent) {
this.fluent = fluent;
}
public VirtualClusterBuilder(VirtualClusterFluent> fluent,VirtualCluster instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public VirtualClusterBuilder(VirtualCluster instance) {
this.fluent = this;
this.copyInstance(instance);
}
VirtualClusterFluent> fluent;
public VirtualCluster build() {
VirtualCluster buildable = new VirtualCluster(fluent.buildTargetCluster(),fluent.getClusterNetworkAddressConfigProvider(),fluent.buildTls(),fluent.isLogNetwork(),fluent.isLogFrames());
return buildable;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy