Class DependencyInfo
java.lang.Object
org.codehaus.mojo.jaxb2.shared.version.DependencyInfo
- All Implemented Interfaces:
Comparable<DependencyInfo>
Trivial holder class for dependency information, as found within a dependencies.properties file.
- Since:
- 2.0
-
Field Details
-
GROUP_ARTIFACT_SEPARATOR
- See Also:
-
groupId
-
artifactId
-
version
-
scope
-
type
-
-
Constructor Details
-
DependencyInfo
-
-
Method Details
-
getGroupId
- Returns:
- The GroupId of this DependencyInfo.
-
getArtifactId
- Returns:
- The ArtifactId of this DependencyInfo.
-
getVersion
- Returns:
- The Maven version of this DependencyInfo.
-
getType
- Returns:
- The type of this DependencyInfo.
-
getScope
- Returns:
- The scope of this DependencyInfo.
-
setType
Assigns the type of this DependencyInfo.- Parameters:
type
- The non-empty type of this DependencyInfo.
-
setScope
Assigns the scope of this DependencyInfo.- Parameters:
scope
- The non-empty scope of this DependencyInfo.
-
getGroupArtifactKey
- Returns:
- A key for use within a SortedSet where this DependencyInfo should be sorted.
-
hashCode
public int hashCode() -
toString
-