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

io.ap4k.option.config.GeneratorConfigFluentImpl Maven / Gradle / Ivy

The newest version!
package io.ap4k.option.config;

import io.ap4k.kubernetes.config.ConfigurationFluentImpl;
import java.lang.StringBuffer;
import java.lang.StringBuilder;
import java.lang.Object;
import java.lang.String;
import java.lang.Boolean;

public class GeneratorConfigFluentImpl> extends ConfigurationFluentImpl implements GeneratorConfigFluent{

    private String inputPath = "";
    private String outputPath = "";

    public GeneratorConfigFluentImpl(){
    }
    public GeneratorConfigFluentImpl(GeneratorConfig instance){
            this.withProject(instance.getProject()); 
            this.withAttributes(instance.getAttributes()); 
            this.withInputPath(instance.getInputPath()); 
            this.withOutputPath(instance.getOutputPath()); 
    }

    public String getInputPath(){
            return this.inputPath;
    }

    public A withInputPath(String inputPath){
            this.inputPath=inputPath; return (A) this;
    }

    public Boolean hasInputPath(){
            return this.inputPath != null;
    }

    public A withNewInputPath(String arg1){
            return (A)withInputPath(new String(arg1));
    }

    public A withNewInputPath(StringBuilder arg1){
            return (A)withInputPath(new String(arg1));
    }

    public A withNewInputPath(StringBuffer arg1){
            return (A)withInputPath(new String(arg1));
    }

    public String getOutputPath(){
            return this.outputPath;
    }

    public A withOutputPath(String outputPath){
            this.outputPath=outputPath; return (A) this;
    }

    public Boolean hasOutputPath(){
            return this.outputPath != null;
    }

    public A withNewOutputPath(String arg1){
            return (A)withOutputPath(new String(arg1));
    }

    public A withNewOutputPath(StringBuilder arg1){
            return (A)withOutputPath(new String(arg1));
    }

    public A withNewOutputPath(StringBuffer arg1){
            return (A)withOutputPath(new String(arg1));
    }

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




}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy