org.apache.maven.model
Class Dependency

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

public class Dependency
extends java.lang.Object
implements java.io.Serializable

Class Dependency.

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

Constructor Summary
Dependency()
           
 
Method Summary
 void addExclusion(Exclusion exclusion)
          Method addExclusion
 java.lang.String getArtifactId()
          Method getArtifactId
 java.lang.String getClassifier()
          Method getClassifier
 java.util.List getExclusions()
          Method getExclusions
 java.lang.String getGroupId()
          Method getGroupId
 java.lang.String getManagementKey()
           
 java.lang.String getScope()
          Method getScope
 java.lang.String getSystemPath()
          Method getSystemPath
 java.lang.String getType()
          Method getType
 java.lang.String getVersion()
          Method getVersion
 boolean isOptional()
          Method isOptional
 void removeExclusion(Exclusion exclusion)
          Method removeExclusion
 void setArtifactId(java.lang.String artifactId)
          Method setArtifactId
 void setClassifier(java.lang.String classifier)
          Method setClassifier
 void setExclusions(java.util.List exclusions)
          Method setExclusions
 void setGroupId(java.lang.String groupId)
          Method setGroupId
 void setOptional(boolean optional)
          Method setOptional
 void setScope(java.lang.String scope)
          Method setScope
 void setSystemPath(java.lang.String systemPath)
          Method setSystemPath
 void setType(java.lang.String type)
          Method setType
 void setVersion(java.lang.String version)
          Method setVersion
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Dependency

public Dependency()
Method Detail

addExclusion

public void addExclusion(Exclusion exclusion)
Method addExclusion

Parameters:
exclusion -

getArtifactId

public java.lang.String getArtifactId()
Method getArtifactId


getClassifier

public java.lang.String getClassifier()
Method getClassifier


getExclusions

public java.util.List getExclusions()
Method getExclusions


getGroupId

public java.lang.String getGroupId()
Method getGroupId


getScope

public java.lang.String getScope()
Method getScope


getSystemPath

public java.lang.String getSystemPath()
Method getSystemPath


getType

public java.lang.String getType()
Method getType


getVersion

public java.lang.String getVersion()
Method getVersion


isOptional

public boolean isOptional()
Method isOptional


removeExclusion

public void removeExclusion(Exclusion exclusion)
Method removeExclusion

Parameters:
exclusion -

setArtifactId

public void setArtifactId(java.lang.String artifactId)
Method setArtifactId

Parameters:
artifactId -

setClassifier

public void setClassifier(java.lang.String classifier)
Method setClassifier

Parameters:
classifier -

setExclusions

public void setExclusions(java.util.List exclusions)
Method setExclusions

Parameters:
exclusions -

setGroupId

public void setGroupId(java.lang.String groupId)
Method setGroupId

Parameters:
groupId -

setOptional

public void setOptional(boolean optional)
Method setOptional

Parameters:
optional -

setScope

public void setScope(java.lang.String scope)
Method setScope

Parameters:
scope -

setSystemPath

public void setSystemPath(java.lang.String systemPath)
Method setSystemPath

Parameters:
systemPath -

setType

public void setType(java.lang.String type)
Method setType

Parameters:
type -

setVersion

public void setVersion(java.lang.String version)
Method setVersion

Parameters:
version -

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getManagementKey

public java.lang.String getManagementKey()


Copyright 2005 Apache Software Foundation. All Rights Reserved.