|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.plexus.component.repository.ComponentDependency
public class ComponentDependency
This represents a project which this component depends upon to function properly, for example, a required jar file. See Apache Maven for an example of a dependency in action.
Constructor Summary | |
---|---|
ComponentDependency()
|
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. |
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ComponentDependency()
Method Detail |
---|
public String getArtifactId()
public void setArtifactId(String artifactId)
artifactId
- the artifact IDpublic String getGroupId()
public void setGroupId(String groupId)
groupId
- the group IDpublic String getType()
public void setType(String type)
type
- the dependency's typepublic String getVersion()
public void setVersion(String version)
version
- the project's versionpublic String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |