org.apache.maven.plugin.ide

Class IdeDependency

public class IdeDependency extends Object

Version: $Id: IdeDependency.java 390686 2006-04-01 15:39:33Z fgiust $

Author: Fabrizio Giustina

Constructor Summary
IdeDependency(String groupId, String artifactId, String version, boolean referencedProject, boolean testDependency, boolean systemScoped, boolean provided, boolean addedToClasspath, File file, String type)
Method Summary
StringgetArtifactId()
Getter for artifactId.
FilegetFile()
Getter for file.
StringgetGroupId()
Getter for groupId.
StringgetId()
Getter for artifactId.
FilegetJavadocAttachment()
Getter for javadocAttachment.
FilegetSourceAttachment()
Getter for sourceAttachment.
StringgetType()
Getter for type.
StringgetVersion()
Getter for version.
booleanisAddedToClasspath()
Getter for addedToClasspath.
booleanisProvided()
Getter for provided.
booleanisReferencedProject()
Getter for referencedProject.
booleanisSystemScoped()
Getter for systemScoped.
booleanisTestDependency()
Getter for testDependency.
voidsetAddedToClasspath(boolean addedToClasspath)
Setter for addedToClasspath.
voidsetArtifactId(String artifactId)
Setter for artifactId.
voidsetFile(File file)
Setter for file.
voidsetGroupId(String groupId)
Setter for groupId.
voidsetJavadocAttachment(File javadocAttachment)
Setter for javadocAttachment.
voidsetProvided(boolean provided)
Setter for provided.
voidsetReferencedProject(boolean referencedProject)
Setter for referencedProject.
voidsetSourceAttachment(File sourceAttachment)
Setter for sourceAttachment.
voidsetSystemScoped(boolean systemScoped)
Setter for systemScoped.
voidsetTestDependency(boolean testDependency)
Setter for testDependency.
voidsetType(String type)
Setter for type.
voidsetVersion(String version)
Setter for version.
StringtoString()

Constructor Detail

IdeDependency

public IdeDependency(String groupId, String artifactId, String version, boolean referencedProject, boolean testDependency, boolean systemScoped, boolean provided, boolean addedToClasspath, File file, String type)

Parameters: groupId Group id artifactId Artifact id version Artifact version referencedProject Is this dependency available in the reactor? testDependency Is this a test dependency? systemScoped Is this a system scope dependency? provided Is this a provided dependency? addedToClasspath Is this dependency added to classpath? file Resolved artifact file type Artifact type

Method Detail

getArtifactId

public String getArtifactId()
Getter for artifactId.

Returns: Returns the artifactId.

getFile

public File getFile()
Getter for file.

Returns: Returns the file.

getGroupId

public String getGroupId()
Getter for groupId.

Returns: Returns the groupId.

getId

public String getId()
Getter for artifactId.

Returns: Returns the artifactId.

getJavadocAttachment

public File getJavadocAttachment()
Getter for javadocAttachment.

Returns: Returns the javadocAttachment.

getSourceAttachment

public File getSourceAttachment()
Getter for sourceAttachment.

Returns: Returns the sourceAttachment.

getType

public String getType()
Getter for type.

Returns: Returns the type.

getVersion

public String getVersion()
Getter for version.

Returns: Returns the version.

isAddedToClasspath

public boolean isAddedToClasspath()
Getter for addedToClasspath.

Returns: Returns the addedToClasspath.

isProvided

public boolean isProvided()
Getter for provided.

Returns: Returns the provided.

isReferencedProject

public boolean isReferencedProject()
Getter for referencedProject.

Returns: Returns the referencedProject.

isSystemScoped

public boolean isSystemScoped()
Getter for systemScoped.

Returns: Returns the systemScoped.

isTestDependency

public boolean isTestDependency()
Getter for testDependency.

Returns: Returns the testDependency.

setAddedToClasspath

public void setAddedToClasspath(boolean addedToClasspath)
Setter for addedToClasspath.

Parameters: addedToClasspath The addedToClasspath to set.

setArtifactId

public void setArtifactId(String artifactId)
Setter for artifactId.

Parameters: artifactId The artifactId to set.

setFile

public void setFile(File file)
Setter for file.

Parameters: file The file to set.

setGroupId

public void setGroupId(String groupId)
Setter for groupId.

Parameters: groupId The groupId to set.

setJavadocAttachment

public void setJavadocAttachment(File javadocAttachment)
Setter for javadocAttachment.

Parameters: javadocAttachment The javadocAttachment to set.

setProvided

public void setProvided(boolean provided)
Setter for provided.

Parameters: provided The provided to set.

setReferencedProject

public void setReferencedProject(boolean referencedProject)
Setter for referencedProject.

Parameters: referencedProject The referencedProject to set.

setSourceAttachment

public void setSourceAttachment(File sourceAttachment)
Setter for sourceAttachment.

Parameters: sourceAttachment The sourceAttachment to set.

setSystemScoped

public void setSystemScoped(boolean systemScoped)
Setter for systemScoped.

Parameters: systemScoped The systemScoped to set.

setTestDependency

public void setTestDependency(boolean testDependency)
Setter for testDependency.

Parameters: testDependency The testDependency to set.

setType

public void setType(String type)
Setter for type.

Parameters: type The type to set.

setVersion

public void setVersion(String version)
Setter for version.

Parameters: version The version to set.

toString

public String toString()

See Also: java.lang.Object#toString()

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