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

io.vlinx.java.wrapper.Config Maven / Gradle / Ivy

package io.vlinx.java.wrapper;

import java.util.ArrayList;
import java.util.List;

public class Config {

    private String appFolder = "";
    private String jreFolder = "";
    private String exeFileName = "";
    private String outputFolder = "";
    private String mode = "";
    private String mainJar = "";
    private String mainClass = "";
    private List classpath = new ArrayList();

    private List jvmOptions = new ArrayList();
    private String targetPlatform = "";
    private boolean verbose = false;

    private boolean hideConsole = false;

    /* windows exe file information */
    private String icon = "";
    private String productName = "";
    private String fileVersion = "";
    private String fileDescription = "";
    private String productVersion = "";
    private String companyName = "";
    private String legalCopyright = "";


    public String getAppFolder() {
        return appFolder;
    }

    public void setAppFolder(String appFolder) {
        this.appFolder = appFolder;
    }

    public String getOutputFolder() {
        return outputFolder;
    }

    public void setOutputFolder(String outputFolder) {
        this.outputFolder = outputFolder;
    }

    public String getMode() {
        return mode;
    }

    public void setMode(String mode) {
        this.mode = mode;
    }

    public String getMainJar() {
        return mainJar;
    }

    public void setMainJar(String mainJar) {
        this.mainJar = mainJar;
    }

    public String getMainClass() {
        return mainClass;
    }

    public void setMainClass(String mainClass) {
        this.mainClass = mainClass;
    }

    public List getClasspath() {
        return classpath;
    }

    public void setClasspath(List classpath) {
        this.classpath = classpath;
    }

    public boolean isHideConsole() {
        return hideConsole;
    }

    public void setHideConsole(boolean hideConsole) {
        this.hideConsole = hideConsole;
    }

    public boolean isVerbose() {
        return verbose;
    }

    public void setVerbose(boolean verbose) {
        this.verbose = verbose;
    }

    public List getJvmOptions() {
        return jvmOptions;
    }

    public void setJvmOptions(List jvmOptions) {
        this.jvmOptions = jvmOptions;
    }

    public String getTargetPlatform() {
        return targetPlatform;
    }

    public void setTargetPlatform(String targetPlatform) {
        this.targetPlatform = targetPlatform;
    }


    public String getJreFolder() {
        return jreFolder;
    }

    public void setJreFolder(String jreFolder) {
        this.jreFolder = jreFolder;
    }

    public String getExeFileName() {
        return exeFileName;
    }

    public void setExeFileName(String exeFileName) {
        this.exeFileName = exeFileName;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getFileVersion() {
        return fileVersion;
    }

    public void setFileVersion(String fileVersion) {
        this.fileVersion = fileVersion;
    }

    public String getFileDescription() {
        return fileDescription;
    }

    public void setFileDescription(String fileDescription) {
        this.fileDescription = fileDescription;
    }

    public String getProductVersion() {
        return productVersion;
    }

    public void setProductVersion(String productVersion) {
        this.productVersion = productVersion;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public String getLegalCopyright() {
        return legalCopyright;
    }

    public void setLegalCopyright(String legalCopyright) {
        this.legalCopyright = legalCopyright;
    }
    
    public WrapperSettings getWrapperSettings() {

        WrapperSettings settings = new WrapperSettings();
        settings.setMainClass(mainClass);
        settings.setMode(mode);
        settings.setHideConsole(hideConsole);
        settings.setJvmOptions(jvmOptions);
        settings.setMainJar(mainJar);
        settings.setClasspath(classpath);
        settings.setVerbose(verbose);

        return settings;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy