Examples of FourPartVersion


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

     *
     * @return The version
     * @since 1.0.0.0
     */
    public static FourPartVersion getVersion() {
        return new FourPartVersion(1, 4, 0, 0, VersionType.SNAPSHOT, "ASPIRE");
    }
View Full Code Here

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

    /**
     * Tests the getVersion() method
     */
    @Test
    public void testGetVersion() {
        assertEquals(new FourPartVersion(1, 4, 0, 0, VersionType.SNAPSHOT, "ASPIRE"), Versioneer.getVersion());
    }
View Full Code Here

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

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

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

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

        //Set up the other version
        FourPartVersion version = ((Version) obj).toFourPartVersion();

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

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

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

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

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

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

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

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

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

        //Set up the other version
        FourPartVersion version = ((Version) obj).toFourPartVersion();

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

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

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

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

            case 3: {
                int major = Integer.valueOf(versionParts[0]);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.