Forge - Dependencies API 2.0.0.Alpha3

org.jboss.forge.dependencies
Interface Dependency

All Known Implementing Classes:
DependencyBuilder

public interface Dependency

Represents a project library dependency.

Author:
Lincoln Baxter, III

Method Summary
 FileResource<?> getArtifact()
          Returns the file representing this artifact
 Coordinate getCoordinate()
          Get the Coordinate for this Dependency
 List<Coordinate> getExcludedCoordinates()
          Returns the set of Coordinate instances that are excluded from this Dependency child hierarchy.
 String getScopeType()
          Get the scope type of this Dependency
 boolean isOptional()
          Returns if this dependency is optional
 

Method Detail

getCoordinate

Coordinate getCoordinate()
Get the Coordinate for this Dependency


getScopeType

String getScopeType()
Get the scope type of this Dependency


getArtifact

FileResource<?> getArtifact()
                            throws DependencyException
Returns the file representing this artifact

Throws:
DependencyException

isOptional

boolean isOptional()
Returns if this dependency is optional


getExcludedCoordinates

List<Coordinate> getExcludedCoordinates()
Returns the set of Coordinate instances that are excluded from this Dependency child hierarchy.


Forge - Dependencies API 2.0.0.Alpha3

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.