org.codehaus.plexus.component.repository
public class ComponentDependency extends Object
Version: $Id: ComponentDependency.java 6965 2007-10-21 05:32:27Z jvanzyl $
| Field Summary | |
|---|---|
| String | artifactId |
| static String | DEAULT_DEPENDENCY_TYPE |
| String | groupId |
| String | type |
| String | version |
| Method Summary | |
|---|---|
| String | getArtifactId()
Gets a key for an artifact, which is an alias for a specific
project timeline in a group. |
| String | getGroupId()
Gets a key for a group, which represents a set of artifacts timelines. |
| String | getType()
Gets the type of dependency, for example a "jar". |
| String | getVersion()
Returns a specific point in a project's timeline.
i.e. version 1, or 2.1.4 |
| void | setArtifactId(String artifactId)
Sets the dependency's artifact ID. |
| void | setGroupId(String groupId)
Sets the dependency's group ID. |
| void | setType(String type)
Sets the dependency project's type. |
| void | setVersion(String version)
Sets the point in a project's development timeline |
| String | toString() |
Returns: a key for an artifact
Returns: a key for a group
Returns: the type of dependency
Returns: a specific point in a project's timeline
Parameters: artifactId the artifact ID
Parameters: groupId the group ID
Parameters: type the dependency's type
Parameters: version the project's version