Class ArtifactVersion

    • Constructor Detail

      • ArtifactVersion

        public ArtifactVersion​(String version)
        Instantiates a new artifact version.
        Parameters:
        version - the version
    • Method Detail

      • getVersion

        public String getVersion()
        Gets the version.
        Returns:
        the version
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getMajorVersion

        public int getMajorVersion()
        Gets the major version.
        Returns:
        the major version
      • getMinorVersion

        public int getMinorVersion()
        Gets the minor version.
        Returns:
        the minor version
      • getIncrementalVersion

        public int getIncrementalVersion()
        Gets the incremental version.
        Returns:
        the incremental version
      • getBuildNumber

        public int getBuildNumber()
        Gets the builds the number.
        Returns:
        the builds the number
      • getQualifier

        public String getQualifier()
        Gets the qualifier.
        Returns:
        the qualifier
      • parseVersion

        public final void parseVersion​(String version)
        Parses the version.
        Parameters:
        version - the version
      • dump

        public String dump()
        Dump.
        Returns:
        the string