Class ComposerDependency
- java.lang.Object
-
- org.owasp.dependencycheck.data.composer.ComposerDependency
-
@ThreadSafe public final class ComposerDependency extends java.lang.Object
Represents a dependency (GAV, right now) from a Composer dependency.- Author:
- colezlaw
-
-
Constructor Summary
Constructors Constructor Description ComposerDependency(java.lang.String group, java.lang.String project, java.lang.String version)
Create a ComposerDependency from group, project, and version.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getGroup()
Get the group.java.lang.String
getProject()
Get the project.java.lang.String
getVersion()
Get the version.int
hashCode()
-
-
-
Method Detail
-
getGroup
public java.lang.String getGroup()
Get the group.- Returns:
- the group
-
getProject
public java.lang.String getProject()
Get the project.- Returns:
- the project
-
getVersion
public java.lang.String getVersion()
Get the version.- Returns:
- the version
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-