org.codehaus.cargo.maven2.configuration
Class AbstractDependency

java.lang.Object
  extended by org.codehaus.cargo.maven2.configuration.AbstractDependency
Direct Known Subclasses:
Dependency, Deployable

public abstract class AbstractDependency
extends Object

Common field and method to Dependency and Deployable.

Version:
$Id: AbstractDependency.java 1702 2008-09-02 12:37:46Z adriana $

Constructor Summary
AbstractDependency()
           
 
Method Summary
protected  String findArtifactLocation(Set artifacts, org.apache.maven.plugin.logging.Log log)
           
 String getArtifactId()
           
 String getClassifier()
           
 String getGroupId()
           
 String getLocation()
           
 String getType()
           
 void setArtifactId(String artifactId)
           
 void setClassifier(String classifier)
           
 void setGroupId(String groupId)
           
 void setLocation(String location)
           
 void setType(String type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractDependency

public AbstractDependency()
Method Detail

setType

public void setType(String type)

getType

public String getType()

setLocation

public void setLocation(String location)

getLocation

public String getLocation()

setGroupId

public void setGroupId(String groupId)

getGroupId

public String getGroupId()

setArtifactId

public void setArtifactId(String artifactId)

getArtifactId

public String getArtifactId()

setClassifier

public void setClassifier(String classifier)

getClassifier

public String getClassifier()

findArtifactLocation

protected String findArtifactLocation(Set artifacts,
                                      org.apache.maven.plugin.logging.Log log)
                               throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException


Copyright © 2004-2012 Codehaus. All Rights Reserved.