Class Dependency

  • All Implemented Interfaces:
    Serializable

    public class Dependency
    extends Object
    implements Serializable
    Currently this is the dependency information of an artifact as stored in the database. Not sure if this will be used by the UI or if a different class will be used.
    Author:
    Scott Conway
    See Also:
    Serialized Form
    • Constructor Detail

      • Dependency

        public Dependency()
        Default constructor.
    • Method Detail

      • getDependencyId

        public long getDependencyId()
        Returns:
        The unique dependency id used by the database
      • setDependencyId

        public void setDependencyId​(long dependencyId)
        Setter of the dependencyId, required by mybatis.
        Parameters:
        dependencyId -
      • getGroupName

        public String getGroupName()
        Returns:
        the maven groupId of the dependency - for example the groupId of this application is "org.dependency".
      • setGroupName

        public void setGroupName​(String groupName)
        Setter of the maven group name.
        Parameters:
        groupName -
      • getArtifactName

        public String getArtifactName()
        Returns:
        return the maven artifactId of the dependency - for example the artifactId for this application is "tracker-server".
      • setArtifactName

        public void setArtifactName​(String artifactName)
        Setter for the artifact name
        Parameters:
        artifactName -
      • getDependencyVersion

        public String getDependencyVersion()
        Returns:
        the version of the dependency
      • setDependencyVersion

        public void setDependencyVersion​(String dependencyVersion)
        Setter for the dependency version.
        Parameters:
        dependencyVersion -
      • getType

        public String getType()
        Returns:
        the maven type of the dependency - pom, jar, war, etc.
      • setType

        public void setType​(String type)
        Setter of the maven type
        Parameters:
        type -
      • getScope

        public String getScope()
        Returns:
        the maven scope of the dependency - compile, runtime, test, etc.
      • setScope

        public void setScope​(String scope)
        Setter of the maven scope.
        Parameters:
        scope -