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

io.alauda.kubernetes.api.model.PipelineStrategyJenkinsFluentImpl Maven / Gradle / Ivy

There is a newer version: 0.2.12
Show newest version
package io.alauda.kubernetes.api.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.alauda.kubernetes.api.builder.BaseFluent;
import java.lang.Object;
import java.lang.String;
import java.lang.Boolean;

public class PipelineStrategyJenkinsFluentImpl> extends io.alauda.kubernetes.api.builder.BaseFluent implements PipelineStrategyJenkinsFluent{

    private String jenkinsfile;
    private String jenkinsfilePath;

    public PipelineStrategyJenkinsFluentImpl(){
    }
    public PipelineStrategyJenkinsFluentImpl(PipelineStrategyJenkins instance){
            this.withJenkinsfile(instance.getJenkinsfile()); 
            this.withJenkinsfilePath(instance.getJenkinsfilePath()); 
    }

    public String getJenkinsfile(){
            return this.jenkinsfile;
    }

    public A withJenkinsfile(String jenkinsfile){
            this.jenkinsfile=jenkinsfile; return (A) this;
    }

    public Boolean hasJenkinsfile(){
            return this.jenkinsfile!=null;
    }

    public String getJenkinsfilePath(){
            return this.jenkinsfilePath;
    }

    public A withJenkinsfilePath(String jenkinsfilePath){
            this.jenkinsfilePath=jenkinsfilePath; return (A) this;
    }

    public Boolean hasJenkinsfilePath(){
            return this.jenkinsfilePath!=null;
    }

    public boolean equals(Object o){
            if (this == o) return true;
            if (o == null || getClass() != o.getClass()) return false;
            if (!super.equals(o)) return false;
            PipelineStrategyJenkinsFluentImpl that = (PipelineStrategyJenkinsFluentImpl) o;
            if (jenkinsfile != null ? !jenkinsfile.equals(that.jenkinsfile) :that.jenkinsfile != null) return false;
            if (jenkinsfilePath != null ? !jenkinsfilePath.equals(that.jenkinsfilePath) :that.jenkinsfilePath != null) return false;
            return true;
    }




}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy