Class DependencyInfo

    • Constructor Detail

      • DependencyInfo

        public DependencyInfo​(String groupId,
                              String artifactId,
                              String version)
    • Method Detail

      • getGroupId

        public String getGroupId()
        Returns:
        The GroupId of this DependencyInfo.
      • getArtifactId

        public String getArtifactId()
        Returns:
        The ArtifactId of this DependencyInfo.
      • getVersion

        public String getVersion()
        Returns:
        The Maven version of this DependencyInfo.
      • getType

        public String getType()
        Returns:
        The type of this DependencyInfo.
      • getScope

        public String getScope()
        Returns:
        The scope of this DependencyInfo.
      • setType

        public void setType​(String type)
        Assigns the type of this DependencyInfo.
        Parameters:
        type - The non-empty type of this DependencyInfo.
      • setScope

        public void setScope​(String scope)
        Assigns the scope of this DependencyInfo.
        Parameters:
        scope - The non-empty scope of this DependencyInfo.
      • getGroupArtifactKey

        public String getGroupArtifactKey()
        Returns:
        A key for use within a SortedSet where this DependencyInfo should be sorted.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object