Forge - Shell API 1.2.0.Final

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, DependencyFilter filter)
          Install given Dependency with the default ScopeType, applying the given DependencyFilter.
 Dependency install(Project project, Dependency dependency, ScopeType type)
          Install given Dependency with the given ScopeType.
 Dependency install(Project project, Dependency dependency, ScopeType type, DependencyFilter filter)
          Install given Dependency with the given ScopeType and DependencyFilter.
 Dependency installManaged(Project project, Dependency dependency)
          Install given managed Dependency with the default ScopeType.
 Dependency installManaged(Project project, Dependency dependency, DependencyFilter filter)
          Install given managed Dependency with the default ScopeType, applying the given DependencyFilter.
 Dependency installManaged(Project project, Dependency dependency, ScopeType type)
          Install given managed Dependency with the given ScopeType .
 Dependency installManaged(Project project, Dependency dependency, ScopeType type, DependencyFilter filter)
          Install given managed Dependency with the given ScopeType and DependencyFilter.
 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,
                   DependencyFilter filter)
Install given Dependency with the default ScopeType, applying the given DependencyFilter. 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.


install

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


installManaged

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


installManaged

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


installManaged

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


installManaged

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


isInstalled

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


Forge - Shell API 1.2.0.Final

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