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

com.upplication.cordova.Version Maven / Gradle / Ivy

There is a newer version: 9.0.0
Show newest version
package com.upplication.cordova;

/**
 * version attr in the config.xml
 * https://cordova.apache.org/docs/en/latest/config_ref/index.html#widget
 */
public class Version {

    private String version;
    private String iosCfBundleVersion;
    private Integer androidVersionCode;

    public static Version create(){
        return new Version();
    }

    public Version version(String version) {
        this.version = version;
        return this;
    }

    public Version iosCfBundleVersion(String iosCfBundleVersion) {
        this.iosCfBundleVersion = iosCfBundleVersion;
        return this;
    }

    public Version androidVersionCode(Integer androidVersionCode) {
        this.androidVersionCode = androidVersionCode;
        return this;
    }

    public String getVersion() {
        return version;
    }

    public String getIosCfBundleVersion() {
        return iosCfBundleVersion;
    }

    public Integer getAndroidVersionCode() {
        return androidVersionCode;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy