Package biz.massivedynamics.versioneer.version.impl

Examples of biz.massivedynamics.versioneer.version.impl.GenericVersion


     *
     * @return The version
     * @since 1.0.0.0
     */
    public static GenericVersion getVersion() {
        return new GenericVersion(1, 0, 0, 0, VersionType.BETA, "GOLD");
    }
View Full Code Here


     *
     * @return The version
     * @since 1.0.0.0
     */
    public static GenericVersion getVersion() {
        return new GenericVersion(1, 1, 1, 0, VersionType.STABLE, "MISCHIEFMANAGED");
    }
View Full Code Here

     *
     * @return The version
     * @since 1.0.0.0
     */
    public static GenericVersion getVersion() {
        return new GenericVersion(1, 1, 2, 2, VersionType.STABLE, "REGROUP");
    }
View Full Code Here

    public final boolean equals(Object obj) {
        if (!(obj instanceof AbstractVersion))
            return false;
       
        //Set up the other version
        GenericVersion version = ((AbstractVersion) obj).toGenericVersion();
       
        //And compare
        return ((this.compareTo(version)) == 0);
    }
View Full Code Here

     *
     * @return The version
     * @since 1.0.0.0
     */
    public static GenericVersion getVersion() {
        return new GenericVersion(1, 2, 0, 0, VersionType.ALPHA, "HIP");
    }
View Full Code Here

        if (!(obj instanceof AbstractVersion)) {
            return false;
        }

        //Set up the other version
        GenericVersion version = ((AbstractVersion) obj).toGenericVersion();

        //And compare
        return ((this.compareTo(version)) == 0);
    }
View Full Code Here

                    revision = Integer.valueOf(versionParts[3].split("[ -]")[0]);
                } else {
                    revision = Integer.valueOf(versionParts[3]);
                }

                version = new GenericVersion(major, minor, build, revision);
            }
            break;

            case 3: {
                int major = Integer.valueOf(versionParts[0]);
View Full Code Here

     *
     * @return The version
     * @since 1.0.0.0
     */
    public static GenericVersion getVersion() {
        return new GenericVersion(1, 0, 0, 1, VersionType.STABLE, "UPLIB");
    }
View Full Code Here

     *
     * @return The version
     * @since 1.0.0.0
     */
    public static GenericVersion getVersion() {
        return new GenericVersion(1, 0, 0, 0, VersionType.STABLE, "GOLD");
    }
View Full Code Here

     *
     * @return The version
     * @since 1.0.0.0
     */
    public static GenericVersion getVersion() {
        return new GenericVersion(1, 0, 0, 0, VersionType.RC, "GOLD");
    }
View Full Code Here

TOP

Related Classes of biz.massivedynamics.versioneer.version.impl.GenericVersion

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.