Forge - Parent 1.0.5-SNAPSHOT

org.jboss.forge.project.dependencies
Interface DependencyInstaller


public interface DependencyInstaller

Responsible for installing a given Dependency into the current project. Resolves available dependencies.

Author:
Lincoln Baxter, III

Method Summary
 Dependency install(Project project, Dependency dependency)
          Install given Dependency with the default ScopeType.
 Dependency install(Project project, Dependency dependency, ScopeType type)
          Install given Dependency with the given ScopeType.
 boolean isInstalled(Project project, Dependency dependency)
          Returns whether or not the given Dependency is installed.
 

Method Detail

install

Dependency install(Project project,
                   Dependency dependency)
Install given Dependency with the default ScopeType. This method overwrites existing dependencies. Any Dependency.getPackagingType(), Dependency.getClassifier(), and Dependency.getScopeType() will be preserved in the added managed dependency.


install

Dependency install(Project project,
                   Dependency dependency,
                   ScopeType type)
Install given Dependency with the given ScopeType. This method overwrites existing dependencies. Any Dependency.getPackagingType(), Dependency.getClassifier(), and Dependency.getScopeType() will be preserved in the added managed dependency.


isInstalled

boolean isInstalled(Project project,
                    Dependency dependency)
Returns whether or not the given Dependency is installed.


Forge - Parent 1.0.5-SNAPSHOT

Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.