org.jboss.forge.project.dependencies
Interface Dependency

All Known Implementing Classes:
DependencyBuilder, DependencyImpl, ExcludedDependencyBuilder

public interface Dependency

Represents a project library dependency.

Author:
Lincoln Baxter, III

Method Summary
 String getArtifactId()
          Get the minor-identifier for this Dependency.
 String getClassifier()
          Get the classifier for this Dependency
 List<Dependency> getExcludedDependencies()
          Get a list of Dependency objects to be excluded from this Dependency's list of inclusions when it is included in a project.
 String getGroupId()
          Get the major identifier for this Dependency.
 String getPackagingType()
          Get the specified packaging type of this Dependency
 PackagingType getPackagingTypeEnum()
          Get the PackagingType of this Dependency, if the type is not one of the default supported types, PackagingType.OTHER will be returned;
 String getScopeType()
          Get the scope type of this Dependency
 ScopeType getScopeTypeEnum()
          Get the ScopeType of this Dependency, if the type is not one of the default supported types, ScopeType.OTHER will be returned;
 String getVersion()
          Get the version of this Dependency.
 String toCoordinates()
          Return a string represenging this dependency in the form of a standard identifier.
 

Method Detail

getArtifactId

String getArtifactId()
Get the minor-identifier for this Dependency.


getClassifier

String getClassifier()
Get the classifier for this Dependency


getGroupId

String getGroupId()
Get the major identifier for this Dependency.


getVersion

String getVersion()
Get the version of this Dependency.


getPackagingType

String getPackagingType()
Get the specified packaging type of this Dependency


getPackagingTypeEnum

PackagingType getPackagingTypeEnum()
Get the PackagingType of this Dependency, if the type is not one of the default supported types, PackagingType.OTHER will be returned;


getScopeType

String getScopeType()
Get the scope type of this Dependency


getScopeTypeEnum

ScopeType getScopeTypeEnum()
Get the ScopeType of this Dependency, if the type is not one of the default supported types, ScopeType.OTHER will be returned;


getExcludedDependencies

List<Dependency> getExcludedDependencies()
Get a list of Dependency objects to be excluded from this Dependency's list of inclusions when it is included in a project.


toCoordinates

String toCoordinates()
Return a string represenging this dependency in the form of a standard identifier. E.g: "groupId : artifactId : version"



Copyright © 2011 Seam Framework. All Rights Reserved.