public class ComponentDependency
extends java.lang.Object
Constructor and Description |
---|
ComponentDependency() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getArtifactId()
Gets a key for an artifact, which is an alias for a specific
project timeline in a group.
|
java.lang.String |
getGroupId()
Gets a key for a group, which represents a set of artifacts timelines.
|
java.lang.String |
getType()
Gets the type of dependency, for example a "jar".
|
java.lang.String |
getVersion()
Returns a specific point in a project's timeline.
|
void |
setArtifactId(java.lang.String artifactId)
Sets the dependency's artifact ID.
|
void |
setGroupId(java.lang.String groupId)
Sets the dependency's group ID.
|
void |
setType(java.lang.String type)
Sets the dependency project's type.
|
void |
setVersion(java.lang.String version)
Sets the point in a project's development timeline
|
java.lang.String |
toString() |
public java.lang.String getArtifactId()
public void setArtifactId(java.lang.String artifactId)
artifactId
- the artifact IDpublic java.lang.String getGroupId()
public void setGroupId(java.lang.String groupId)
groupId
- the group IDpublic java.lang.String getType()
public void setType(java.lang.String type)
type
- the dependency's typepublic java.lang.String getVersion()
public void setVersion(java.lang.String version)
version
- the project's versionpublic java.lang.String toString()
toString
in class java.lang.Object