All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.dekorate.jib.config.JibBuildConfigBuilder Maven / Gradle / Ivy

There is a newer version: 4.1.4
Show newest version
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;
  }
  

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy