io.dekorate.testing.config.KubernetesIntegrationTestConfigBuilder Maven / Gradle / Ivy
package io.dekorate.testing.config;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import java.lang.Boolean;
/**
* Generated
*/
public class KubernetesIntegrationTestConfigBuilder extends KubernetesIntegrationTestConfigFluentImpl implements VisitableBuilder{
public KubernetesIntegrationTestConfigBuilder() {
this(false);
}
public KubernetesIntegrationTestConfigBuilder(Boolean validationEnabled) {
this(new KubernetesIntegrationTestConfig(), validationEnabled);
}
public KubernetesIntegrationTestConfigBuilder(io.dekorate.testing.config.KubernetesIntegrationTestConfigFluent> fluent) {
this(fluent, false);
}
public KubernetesIntegrationTestConfigBuilder(io.dekorate.testing.config.KubernetesIntegrationTestConfigFluent> fluent,java.lang.Boolean validationEnabled) {
this(fluent, new KubernetesIntegrationTestConfig(), validationEnabled);
}
public KubernetesIntegrationTestConfigBuilder(io.dekorate.testing.config.KubernetesIntegrationTestConfigFluent> fluent,io.dekorate.testing.config.KubernetesIntegrationTestConfig instance) {
this(fluent, instance, false);
}
public KubernetesIntegrationTestConfigBuilder(io.dekorate.testing.config.KubernetesIntegrationTestConfigFluent> fluent,io.dekorate.testing.config.KubernetesIntegrationTestConfig instance,java.lang.Boolean validationEnabled) {
this.fluent = fluent;
fluent.withDeployEnabled(instance.isDeployEnabled());
fluent.withBuildEnabled(instance.isBuildEnabled());
fluent.withReadinessTimeout(instance.getReadinessTimeout());
fluent.withAdditionalModules(instance.getAdditionalModules());
this.validationEnabled = validationEnabled;
}
public KubernetesIntegrationTestConfigBuilder(io.dekorate.testing.config.KubernetesIntegrationTestConfig instance) {
this(instance,false);
}
public KubernetesIntegrationTestConfigBuilder(io.dekorate.testing.config.KubernetesIntegrationTestConfig instance,java.lang.Boolean validationEnabled) {
this.fluent = this;
this.withDeployEnabled(instance.isDeployEnabled());
this.withBuildEnabled(instance.isBuildEnabled());
this.withReadinessTimeout(instance.getReadinessTimeout());
this.withAdditionalModules(instance.getAdditionalModules());
this.validationEnabled = validationEnabled;
}
io.dekorate.testing.config.KubernetesIntegrationTestConfigFluent> fluent;
java.lang.Boolean validationEnabled;
public EditableKubernetesIntegrationTestConfig build() {
EditableKubernetesIntegrationTestConfig buildable = new EditableKubernetesIntegrationTestConfig(fluent.isDeployEnabled(),fluent.isBuildEnabled(),fluent.getReadinessTimeout(),fluent.getAdditionalModules());
return buildable;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy