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

shz.generator.GenInfo Maven / Gradle / Ivy

package shz.generator;

import shz.core.FileHelp;

public final class GenInfo {
    String folder;
    String path;
    boolean delete;
    public String packageName;

    GenInfo(String packageName) {
        this.packageName = packageName;
    }

    public static GenInfo of(String packageName) {
        return new GenInfo(packageName);
    }

    public GenInfo folder(String folder) {
        this.folder = FileHelp.formatPath(folder);
        return this;
    }

    public GenInfo path(String path) {
        this.path = FileHelp.formatPath(path);
        return this;
    }

    public GenInfo delete() {
        this.delete = true;
        return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy