public interface DependencyInstaller
Dependency into the current project. Resolves available dependencies.| Modifier and Type | Method and Description |
|---|---|
Dependency |
install(Project project,
Dependency dependency)
Install given
Dependency with the default ScopeType. |
Dependency |
install(Project project,
Dependency dependency,
DependencyFilter filter)
|
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)
|
Dependency |
installManaged(Project project,
Dependency dependency)
Install given managed
Dependency with the default ScopeType. |
Dependency |
installManaged(Project project,
Dependency dependency,
DependencyFilter filter)
|
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)
|
boolean |
isInstalled(Project project,
Dependency dependency)
Returns whether or not the given
Dependency is installed. |
Dependency install(Project project, Dependency dependency)
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.Dependency install(Project project, Dependency dependency, DependencyFilter filter)
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.Dependency install(Project project, Dependency dependency, ScopeType type)
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.Dependency install(Project project, Dependency dependency, ScopeType type, DependencyFilter filter)
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.Dependency installManaged(Project project, Dependency dependency)
Dependency with the default ScopeType. This method overwrites existing
managed dependencies. Any Dependency.getPackagingType(), Dependency.getClassifier(), and
Dependency.getScopeType() will be preserved.Dependency installManaged(Project project, Dependency dependency, DependencyFilter filter)
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.Dependency installManaged(Project project, Dependency dependency, ScopeType type)
Dependency with the given ScopeType . This method overwrites existing
dependencies. Any Dependency.getPackagingType(), Dependency.getClassifier() , and
Dependency.getScopeType() will be preserved.Dependency installManaged(Project project, Dependency dependency, ScopeType type, DependencyFilter filter)
Dependency with the given ScopeType and DependencyFilter. This
method overwrites existing dependencies. Any Dependency.getPackagingType(),
Dependency.getClassifier() , and Dependency.getScopeType() will be preserved.boolean isInstalled(Project project, Dependency dependency)
Dependency is installed.Copyright © 2013 JBoss by Red Hat. All Rights Reserved.