org.apache.maven.project
Class ArtifactType

java.lang.Object
  extended byorg.apache.maven.project.ArtifactType

public class ArtifactType
extends java.lang.Object

Provides mapping between artifact types and an extension associated with these types.

Version:
$Id: ArtifactType.java,v 1.5.4.2 2004/03/01 22:36:38 evenisse Exp $
Author:
Vincent Massol

Field Summary
static ArtifactType ASPECT
          Reusable AspectJ aspect mapping.
static ArtifactType EJB
          EJB artifact mapping.
static ArtifactType PLUGIN
          Plugin artifact mapping.
 
Method Summary
static ArtifactType findType(java.lang.String type)
          Factory to return the correct ArtifactType object.
 java.lang.String getExtension()
           
 java.lang.String getType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EJB

public static final ArtifactType EJB
EJB artifact mapping.


PLUGIN

public static final ArtifactType PLUGIN
Plugin artifact mapping.


ASPECT

public static final ArtifactType ASPECT
Reusable AspectJ aspect mapping.

Method Detail

getType

public java.lang.String getType()
Returns:
the artifact type

getExtension

public java.lang.String getExtension()
Returns:
the artifact extension

findType

public static ArtifactType findType(java.lang.String type)
Factory to return the correct ArtifactType object.

Parameters:
type - the artifact type
Returns:
the artifact mapping


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