io.dekorate.jib.config.JibBuildConfigBuilder Maven / Gradle / Ivy
package io.dekorate.jib.config;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
/**
* Generated
*/
public class JibBuildConfigBuilder extends JibBuildConfigFluent implements VisitableBuilder{
public JibBuildConfigBuilder() {
this(new JibBuildConfig());
}
public JibBuildConfigBuilder(JibBuildConfigFluent> fluent) {
this(fluent, new JibBuildConfig());
}
public JibBuildConfigBuilder(JibBuildConfigFluent> fluent,JibBuildConfig instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public JibBuildConfigBuilder(JibBuildConfig instance) {
this.fluent = this;
this.copyInstance(instance);
}
JibBuildConfigFluent> fluent;
public EditableJibBuildConfig build() {
EditableJibBuildConfig buildable = new EditableJibBuildConfig(fluent.buildProject(),fluent.getAttributes(),fluent.getEnabled(),fluent.getRegistry(),fluent.getGroup(),fluent.getName(),fluent.getVersion(),fluent.getImage(),fluent.getDockerFile(),fluent.getAutoBuildEnabled(),fluent.getAutoPushEnabled(),fluent.getAutoLoadEnabled(),fluent.getDockerBuild(),fluent.getFrom(),fluent.getAutoDeployEnabled());
buildable.setPartOf(fluent.getPartOf());
return buildable;
}
}