org.apache.maven.artifact.handler
Class DefaultArtifactHandler

java.lang.Object
  extended by org.apache.maven.artifact.handler.DefaultArtifactHandler
All Implemented Interfaces:
ArtifactHandler

@Component(role=org.apache.maven.artifact.handler.ArtifactHandler.class)
public class DefaultArtifactHandler
extends Object
implements ArtifactHandler

Author:
Brett Porter, Jason van Zyl

Field Summary
 
Fields inherited from interface org.apache.maven.artifact.handler.ArtifactHandler
ROLE
 
Constructor Summary
DefaultArtifactHandler()
           
DefaultArtifactHandler(String type)
           
 
Method Summary
 String getClassifier()
           
 String getDirectory()
           
 String getExtension()
           
 String getLanguage()
           
 String getPackaging()
           
 String getType()
           
 boolean isAddedToClasspath()
           
 boolean isIncludesDependencies()
           
 void setAddedToClasspath(boolean addedToClasspath)
           
 void setExtension(String extension)
           
 void setIncludesDependencies(boolean includesDependencies)
           
 void setLanguage(String language)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultArtifactHandler

public DefaultArtifactHandler()

DefaultArtifactHandler

public DefaultArtifactHandler(String type)
Method Detail

getExtension

public String getExtension()
Specified by:
getExtension in interface ArtifactHandler

setExtension

public void setExtension(String extension)

getType

public String getType()

getClassifier

public String getClassifier()
Specified by:
getClassifier in interface ArtifactHandler

getDirectory

public String getDirectory()
Specified by:
getDirectory in interface ArtifactHandler

getPackaging

public String getPackaging()
Specified by:
getPackaging in interface ArtifactHandler

isIncludesDependencies

public boolean isIncludesDependencies()
Specified by:
isIncludesDependencies in interface ArtifactHandler

setIncludesDependencies

public void setIncludesDependencies(boolean includesDependencies)

getLanguage

public String getLanguage()
Specified by:
getLanguage in interface ArtifactHandler

setLanguage

public void setLanguage(String language)

isAddedToClasspath

public boolean isAddedToClasspath()
Specified by:
isAddedToClasspath in interface ArtifactHandler

setAddedToClasspath

public void setAddedToClasspath(boolean addedToClasspath)


Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.