public DockerBuildStrategyBuilder( DockerBuildStrategyFluent<?> fluent ){ this(fluent, new DockerBuildStrategy()); } public DockerBuildStrategyBuilder( DockerBuildStrategyFluent<?> fluent , DockerBuildStrategy instance ){
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; }
public DockerBuildStrategyBuilder( DockerBuildStrategyFluent<?> fluent , DockerBuildStrategy instance ){ this.fluent = fluent; fluent.withEnv(instance.getEnv()); fluent.withFrom(instance.getFrom()); fluent.withNoCache(instance.getNoCache()); fluent.withPullSecret(instance.getPullSecret()); } public DockerBuildStrategyBuilder( DockerBuildStrategy instance ){
public DockerBuildStrategyBuilder( DockerBuildStrategyFluent<?> fluent , DockerBuildStrategy instance ){ this.fluent = fluent; fluent.withFrom(instance.getFrom()); fluent.withNoCache(instance.getNoCache()); fluent.withPullSecret(instance.getPullSecret()); } public DockerBuildStrategyBuilder( DockerBuildStrategy instance ){
buildStrategy.getDockerStrategy().setPullSecret(new LocalObjectReferenceBuilder() .withName(openshiftPullSecret) .build());
public DockerBuildStrategyBuilder(DockerBuildStrategyFluent<?> fluent,DockerBuildStrategy instance,Boolean validationEnabled){ this.fluent = fluent; fluent.withDockerfilePath(instance.getDockerfilePath()); fluent.withEnv(instance.getEnv()); fluent.withForcePull(instance.getForcePull()); fluent.withFrom(instance.getFrom()); fluent.withNoCache(instance.getNoCache()); fluent.withPullSecret(instance.getPullSecret()); this.validationEnabled = validationEnabled; } public DockerBuildStrategyBuilder(DockerBuildStrategy instance){
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 ){ this.fluent = this; this.withFrom(instance.getFrom()); this.withNoCache(instance.getNoCache()); this.withPullSecret(instance.getPullSecret()); }
public DockerBuildStrategyFluentImpl(DockerBuildStrategy instance){ this.withDockerfilePath(instance.getDockerfilePath()); this.withEnv(instance.getEnv()); this.withForcePull(instance.getForcePull()); this.withFrom(instance.getFrom()); this.withNoCache(instance.getNoCache()); this.withPullSecret(instance.getPullSecret()); }
public DockerBuildStrategyBuilder(){ this(new DockerBuildStrategy()); } public DockerBuildStrategyBuilder( DockerBuildStrategyFluent<?> fluent ){
public DockerBuildStrategyBuilder( DockerBuildStrategyFluent<?> fluent ){ this(fluent, new DockerBuildStrategy()); } public DockerBuildStrategyBuilder( DockerBuildStrategyFluent<?> fluent , DockerBuildStrategy instance ){
public DockerBuildStrategyBuilder(Boolean validationEnabled){ this(new DockerBuildStrategy(), validationEnabled); } public DockerBuildStrategyBuilder(DockerBuildStrategyFluent<?> fluent){
public DockerBuildStrategyBuilder(DockerBuildStrategyFluent<?> fluent,Boolean validationEnabled){ this(fluent, new DockerBuildStrategy(), validationEnabled); } public DockerBuildStrategyBuilder(DockerBuildStrategyFluent<?> fluent,DockerBuildStrategy instance){
public DockerBuildStrategyBuilder(){ this(new DockerBuildStrategy()); } public DockerBuildStrategyBuilder( DockerBuildStrategyFluent<?> fluent ){
public DockerBuildStrategy build(){ DockerBuildStrategy buildable = new DockerBuildStrategy(fluent.getFrom(),fluent.isNoCache(),fluent.getPullSecret()); validate(buildable); return buildable; }
public DockerBuildStrategy build(){ DockerBuildStrategy buildable = new DockerBuildStrategy(fluent.getEnv(),fluent.getFrom(),fluent.isNoCache(),fluent.getPullSecret()); validate(buildable); return buildable; }
public DockerBuildStrategy build(){ DockerBuildStrategy buildable = new DockerBuildStrategy(fluent.getDockerfilePath(),fluent.getEnv(),fluent.isForcePull(),fluent.getFrom(),fluent.isNoCache(),fluent.getPullSecret()); validate(buildable); return buildable; }