org.apache.maven.repository
Class PluginArtifact

java.lang.Object
  extended byorg.apache.maven.repository.AbstractArtifact
      extended byorg.apache.maven.repository.PluginArtifact
All Implemented Interfaces:
Artifact

public class PluginArtifact
extends AbstractArtifact

Plugin artifact that has special knowledge of the MavenSession's plugin mechanism.

Version:
$Id: PluginArtifact.java 517014 2007-03-11 21:15:50Z ltheussl $
Author:
Jason van Zyl

Field Summary
 
Fields inherited from class org.apache.maven.repository.AbstractArtifact
fs
 
Fields inherited from interface org.apache.maven.repository.Artifact
OVERRIDE_NONE, OVERRIDE_PATH, OVERRIDE_VERSION
 
Constructor Summary
PluginArtifact(org.apache.maven.project.Dependency dependency)
          Constructor for the MavenSession Plugin artifact object.
 
Method Summary
 java.lang.String generatePath()
          Generate the path for this artifact given its dependency attributes.
 java.lang.String getUrlPath()
          Return an URL path that is platform agnostic.
 
Methods inherited from class org.apache.maven.repository.AbstractArtifact
exists, getChecksumUrl, getDependency, getDescription, getFile, getName, getOverrideType, getPath, isSnapshot, setDependency, setOverrideType, setPath, verify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginArtifact

public PluginArtifact(org.apache.maven.project.Dependency dependency)
Constructor for the MavenSession Plugin artifact object.

Parameters:
dependency - Project dependency.
Method Detail

generatePath

public java.lang.String generatePath()
Description copied from interface: Artifact
Generate the path for this artifact given its dependency attributes.

Specified by:
generatePath in interface Artifact
Overrides:
generatePath in class AbstractArtifact
See Also:
Artifact.generatePath()

getUrlPath

public java.lang.String getUrlPath()
Description copied from interface: Artifact
Return an URL path that is platform agnostic.

Specified by:
getUrlPath in interface Artifact
Overrides:
getUrlPath in class AbstractArtifact
See Also:
Artifact.getUrlPath()


Copyright © 2001-2008 Apache Software Foundation. All Rights Reserved.