io.dekorate.docker.config.DockerBuildConfigFluentImpl Maven / Gradle / Ivy
package io.dekorate.docker.config;
import io.dekorate.kubernetes.config.ImageConfigurationFluentImpl;
import java.lang.Object;
import java.lang.Boolean;
public class DockerBuildConfigFluentImpl> extends ImageConfigurationFluentImpl implements DockerBuildConfigFluent{
private boolean autoDeployEnabled = false;
public DockerBuildConfigFluentImpl(){
}
public DockerBuildConfigFluentImpl(DockerBuildConfig instance){
this.withProject(instance.getProject());
this.withAttributes(instance.getAttributes());
this.withGroup(instance.getGroup());
this.withName(instance.getName());
this.withVersion(instance.getVersion());
this.withRegistry(instance.getRegistry());
this.withDockerFile(instance.getDockerFile());
this.withAutoBuildEnabled(instance.isAutoBuildEnabled());
this.withAutoPushEnabled(instance.isAutoPushEnabled());
this.withAutoDeployEnabled(instance.isAutoDeployEnabled());
}
public boolean isAutoDeployEnabled(){
return this.autoDeployEnabled;
}
public A withAutoDeployEnabled(boolean autoDeployEnabled){
this.autoDeployEnabled=autoDeployEnabled; return (A) this;
}
public Boolean hasAutoDeployEnabled(){
return true;
}
public boolean equals(Object o){
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
if (!super.equals(o)) return false;
DockerBuildConfigFluentImpl that = (DockerBuildConfigFluentImpl) o;
if (autoDeployEnabled != that.autoDeployEnabled) return false;
return true;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy