org.apache.maven.plugin.descriptor.model
Class Dependency

java.lang.Object
  extended by org.apache.maven.plugin.descriptor.model.Dependency
All Implemented Interfaces:
Serializable

public class Dependency
extends Object
implements Serializable

Definition of a dependency, needed by the plugin at runtime.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
Dependency()
           
 
Method Summary
 String getArtifactId()
          Get the artifact id of the dependency.
 String getGroupId()
          Get the group id of the dependency.
 String getType()
          Get the type of dependency.
 String getVersion()
          Get the version of the dependency.
 void setArtifactId(String artifactId)
          Set the artifact id of the dependency.
 void setGroupId(String groupId)
          Set the group id of the dependency.
 void setType(String type)
          Set the type of dependency.
 void setVersion(String version)
          Set the version of the dependency.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Dependency

public Dependency()
Method Detail

getArtifactId

public String getArtifactId()
Get the artifact id of the dependency.

Returns:
String

getGroupId

public String getGroupId()
Get the group id of the dependency.

Returns:
String

getType

public String getType()
Get the type of dependency.

Returns:
String

getVersion

public String getVersion()
Get the version of the dependency.

Returns:
String

setArtifactId

public void setArtifactId(String artifactId)
Set the artifact id of the dependency.

Parameters:
artifactId -

setGroupId

public void setGroupId(String groupId)
Set the group id of the dependency.

Parameters:
groupId -

setType

public void setType(String type)
Set the type of dependency.

Parameters:
type -

setVersion

public void setVersion(String version)
Set the version of the dependency.

Parameters:
version -


Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.