public DockerBuildStrategyBuilder( DockerBuildStrategy instance ){ this.fluent = this; this.withEnv(instance.getEnv()); this.withFrom(instance.getFrom()); this.withNoCache(instance.getNoCache()); this.withPullSecret(instance.getPullSecret()); }
public DockerBuildStrategyBuilder(DockerBuildStrategy instance,Boolean validationEnabled){ this.fluent = this; this.withDockerfilePath(instance.getDockerfilePath()); this.withEnv(instance.getEnv()); this.withForcePull(instance.getForcePull()); this.withFrom(instance.getFrom()); this.withNoCache(instance.getNoCache()); this.withPullSecret(instance.getPullSecret()); this.validationEnabled = validationEnabled; }