org.whitesource.agent.api.model
Class DependencyInfo

java.lang.Object
  extended by org.whitesource.agent.api.model.DependencyInfo
All Implemented Interfaces:
Serializable

public class DependencyInfo
extends Object
implements Serializable

WhiteSource Model for a project's dependency

Author:
tom.shapira
See Also:
Serialized Form

Constructor Summary
DependencyInfo()
          Default constructor
DependencyInfo(String sha1)
          Constructor
DependencyInfo(String groupId, String artifactId, String version)
          Constructor
 
Method Summary
 boolean equals(Object obj)
           
 String getArtifactId()
           
 String getClassifier()
           
 Collection<ExclusionInfo> getExclusions()
           
 String getGroupId()
           
 boolean getOptional()
           
 String getScope()
           
 String getSha1()
           
 String getSystemPath()
           
 String getType()
           
 String getVersion()
           
 int hashCode()
           
 void setArtifactId(String artifactId)
           
 void setClassifier(String classifier)
           
 void setExclusions(Collection<ExclusionInfo> exclusions)
           
 void setGroupId(String groupId)
           
 void setOptional(boolean optional)
           
 void setScope(String scope)
           
 void setSha1(String sha1)
           
 void setSystemPath(String systemPath)
           
 void setType(String type)
           
 void setVersion(String version)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DependencyInfo

public DependencyInfo()
Default constructor


DependencyInfo

public DependencyInfo(String groupId,
                      String artifactId,
                      String version)
Constructor

Parameters:
groupId -
artifactId -
version -

DependencyInfo

public DependencyInfo(String sha1)
Constructor

Parameters:
sha1 -
Method Detail

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

getGroupId

public String getGroupId()

setGroupId

public void setGroupId(String groupId)

getArtifactId

public String getArtifactId()

setArtifactId

public void setArtifactId(String artifactId)

getVersion

public String getVersion()

setVersion

public void setVersion(String version)

getType

public String getType()

setType

public void setType(String type)

getClassifier

public String getClassifier()

setClassifier

public void setClassifier(String classifier)

getScope

public String getScope()

setScope

public void setScope(String scope)

getSha1

public String getSha1()

setSha1

public void setSha1(String sha1)

getSystemPath

public String getSystemPath()

setSystemPath

public void setSystemPath(String systemPath)

getExclusions

public Collection<ExclusionInfo> getExclusions()

setExclusions

public void setExclusions(Collection<ExclusionInfo> exclusions)

getOptional

public boolean getOptional()

setOptional

public void setOptional(boolean optional)


Copyright © 2011-2012 White Source. All Rights Reserved.