org.jboss.maven.plugins.thirdparty
Class Dependency

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

public class Dependency
extends org.apache.maven.model.Dependency

A Dependency mapping between maven dependencies and third party dependencies.

Version:
$Revision: 188127 $
Author:
Paul Gier
See Also:
Serialized Form

Constructor Summary
Dependency()
           
Dependency(org.apache.maven.artifact.Artifact artifact)
           
 
Method Summary
 boolean equals(java.lang.Object dependency)
           
 java.lang.String getCompArtifactId()
           
 java.lang.String getComponentId()
           
 java.lang.String getComponentVersion()
           
 Mapping getMapping()
           
 java.lang.String getResolutionId()
          Get an id for determining the appropriate thirdparty artifact
 int hashCode()
           
 boolean isExportArtifact()
          Determines whether the artifact should be in the list of exports in the component-info.xml file.
 void setComponentId(java.lang.String componentId)
           
 void setExportArtifact(boolean exportArtifact)
           
 void setMapping(Mapping mapping)
           
 
Methods inherited from class org.apache.maven.model.Dependency
addExclusion, getArtifactId, getClassifier, getExclusions, getGroupId, getManagementKey, getModelEncoding, getScope, getSystemPath, getType, getVersion, isOptional, removeExclusion, setArtifactId, setClassifier, setExclusions, setGroupId, setModelEncoding, setOptional, setScope, setSystemPath, setType, setVersion, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Dependency

public Dependency()

Dependency

public Dependency(org.apache.maven.artifact.Artifact artifact)
Method Detail

getMapping

public Mapping getMapping()

setMapping

public void setMapping(Mapping mapping)

getComponentId

public java.lang.String getComponentId()

setComponentId

public void setComponentId(java.lang.String componentId)

getComponentVersion

public java.lang.String getComponentVersion()

getCompArtifactId

public java.lang.String getCompArtifactId()

equals

public boolean equals(java.lang.Object dependency)
Overrides:
equals in class java.lang.Object

getResolutionId

public java.lang.String getResolutionId()
Get an id for determining the appropriate thirdparty artifact

Returns:

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

isExportArtifact

public boolean isExportArtifact()
Determines whether the artifact should be in the list of exports in the component-info.xml file.

Returns:

setExportArtifact

public void setExportArtifact(boolean exportArtifact)


Copyright © 2007-2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.