public class DependencyInfo extends Object implements Comparable<DependencyInfo>
Constructor and Description |
---|
DependencyInfo(String groupId,
String artifactId,
String version) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(DependencyInfo that) |
String |
getArtifactId() |
String |
getGroupArtifactKey() |
String |
getGroupId() |
String |
getScope() |
String |
getType() |
String |
getVersion() |
int |
hashCode() |
void |
setScope(String scope)
Assigns the scope of this DependencyInfo.
|
void |
setType(String type)
Assigns the type of this DependencyInfo.
|
String |
toString() |
public String getGroupId()
public String getArtifactId()
public String getVersion()
public String getType()
public String getScope()
public void setType(String type)
type
- The non-empty type of this DependencyInfo.public void setScope(String scope)
scope
- The non-empty scope of this DependencyInfo.public String getGroupArtifactKey()
public int compareTo(DependencyInfo that)
compareTo
in interface Comparable<DependencyInfo>
Copyright © 2005–2015 MojoHaus. All rights reserved.