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

club.zhcs.rop.ROP Maven / Gradle / Ivy

There is a newer version: 2.3.9.RELEASE
Show newest version
package club.zhcs.rop;

/**
 * @author 王贵源([email protected])
 */
public class ROP {
    public static final String DESCRIPTION = "rest open platform";
    public static final int MAJOR_VERSION = 1;
    public static final int MINOR_VERSION = 0;
    public static final String NAME = "rop";
    public static final String RELEASE_LEVEL = "r";
    public static final boolean SNAPSHOT = false;

    public static int majorVersion() {
        return MAJOR_VERSION;
    }

    public static int minorVersion() {
        return MINOR_VERSION;
    }

    public static String releaseLevel() {
        return RELEASE_LEVEL;
    }

    public static String v() {
        return String.format("%d.%s.%d%s",
                             majorVersion(),
                             releaseLevel(),
                             minorVersion(),
                             SNAPSHOT ? ".SNAPSHOT" : "");
    }

    /**
     *
     */
    private ROP() {}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy