| Package | Description |
|---|---|
| org.jboss.forge.project.dependencies | |
| org.jboss.forge.project.dependencies.events | |
| org.jboss.forge.project.facets | |
| org.jboss.forge.resources |
| Modifier and Type | Class and Description |
|---|---|
class |
DependencyBuilder
Builder to create
Dependency objects. |
class |
DependencyImpl
This class is internal; instead use
DependencyBuilder for Dependency creation & instantiation. |
class |
ExcludedDependencyBuilder |
| Modifier and Type | Method and Description |
|---|---|
Dependency |
DependencyQueryBuilder.getDependency() |
Dependency |
DependencyQuery.getDependency() |
Dependency |
DependencyMetadata.getDependency()
The
Dependency for which this DependencyMetadata was retrieved. |
Dependency |
DependencyInstaller.install(Project project,
Dependency dependency)
Install given
Dependency with the default ScopeType. |
Dependency |
DependencyInstaller.install(Project project,
Dependency dependency,
DependencyFilter filter)
|
Dependency |
DependencyInstaller.install(Project project,
Dependency dependency,
ScopeType type)
Install given
Dependency with the given ScopeType. |
Dependency |
DependencyInstaller.install(Project project,
Dependency dependency,
ScopeType type,
DependencyFilter filter)
|
Dependency |
DependencyInstaller.installManaged(Project project,
Dependency dependency)
Install given managed
Dependency with the default ScopeType. |
Dependency |
DependencyInstaller.installManaged(Project project,
Dependency dependency,
DependencyFilter filter)
|
Dependency |
DependencyInstaller.installManaged(Project project,
Dependency dependency,
ScopeType type)
Install given managed
Dependency with the given ScopeType . |
Dependency |
DependencyInstaller.installManaged(Project project,
Dependency dependency,
ScopeType type,
DependencyFilter filter)
|
| Modifier and Type | Method and Description |
|---|---|
List<Dependency> |
DependencyMetadata.getDependencies()
The direct dependencies of the
Dependency for which this DependencyMetadata was retrieved. |
List<Dependency> |
ExcludedDependencyBuilder.getExcludedDependencies() |
List<Dependency> |
DependencyBuilder.getExcludedDependencies() |
List<Dependency> |
DependencyImpl.getExcludedDependencies() |
List<Dependency> |
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. |
List<Dependency> |
DependencyMetadata.getManagedDependencies()
The managed dependencies of the
Dependency for which this DependencyMetadata was retrieved. |
List<Dependency> |
DependencyResolver.resolveVersions(Dependency query)
Deprecated.
|
List<Dependency> |
DependencyResolverProvider.resolveVersions(Dependency query)
Resolve a set of
Dependency versions matching the given query, searching in the default repository. |
List<Dependency> |
DependencyResolver.resolveVersions(Dependency query,
DependencyRepository repository)
Deprecated.
|
List<Dependency> |
DependencyResolverProvider.resolveVersions(Dependency query,
DependencyRepository repository)
Resolve a set of
Dependency versions matching the given query, searching in only the given
DependencyRepository. |
List<Dependency> |
DependencyResolver.resolveVersions(Dependency query,
List<DependencyRepository> repositories)
Deprecated.
|
List<Dependency> |
DependencyResolverProvider.resolveVersions(Dependency dep,
List<DependencyRepository> repositories)
Resolve a set of
Dependency versions matching the given query, searching in only the given list of
DependencyRepository instances. |
List<Dependency> |
DependencyResolver.resolveVersions(DependencyQuery query)
Resolve a set of
Dependency versions matching the given query. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
NonSnapshotDependencyFilter.accept(Dependency dependency) |
boolean |
DependencyFilter.accept(Dependency dependency)
Return true if the filter accepts this dependency, or false if the dependency should be filtered out.
|
boolean |
CompositeDependencyFilter.accept(Dependency dependency)
Tests each filter if it matches the dependency informed.
|
static boolean |
DependencyBuilder.areEquivalent(Dependency l,
Dependency r)
Return true if the groupId and artifactId of the two given dependencies are equal.
|
static DependencyQueryBuilder |
DependencyQueryBuilder.create(Dependency dependency) |
static DependencyBuilder |
DependencyBuilder.create(Dependency dep) |
Dependency |
DependencyInstaller.install(Project project,
Dependency dependency)
Install given
Dependency with the default ScopeType. |
Dependency |
DependencyInstaller.install(Project project,
Dependency dependency,
DependencyFilter filter)
|
Dependency |
DependencyInstaller.install(Project project,
Dependency dependency,
ScopeType type)
Install given
Dependency with the given ScopeType. |
Dependency |
DependencyInstaller.install(Project project,
Dependency dependency,
ScopeType type,
DependencyFilter filter)
|
Dependency |
DependencyInstaller.installManaged(Project project,
Dependency dependency)
Install given managed
Dependency with the default ScopeType. |
Dependency |
DependencyInstaller.installManaged(Project project,
Dependency dependency,
DependencyFilter filter)
|
Dependency |
DependencyInstaller.installManaged(Project project,
Dependency dependency,
ScopeType type)
Install given managed
Dependency with the given ScopeType . |
Dependency |
DependencyInstaller.installManaged(Project project,
Dependency dependency,
ScopeType type,
DependencyFilter filter)
|
boolean |
DependencyInstaller.isInstalled(Project project,
Dependency dependency)
Returns whether or not the given
Dependency is installed. |
List<DependencyResource> |
DependencyResolver.resolveArtifacts(Dependency query) |
List<DependencyResource> |
DependencyResolverProvider.resolveArtifacts(Dependency query)
Resolve a set of
DependencyResource artifacts matching the given query, searching in the default
repository. |
List<DependencyResource> |
DependencyResolver.resolveArtifacts(Dependency query,
DependencyRepository repository) |
List<DependencyResource> |
DependencyResolverProvider.resolveArtifacts(Dependency query,
DependencyRepository repository)
Resolve a set of
DependencyResource artifacts matching the given query, searching in only the given
DependencyRepository. |
List<DependencyResource> |
DependencyResolver.resolveArtifacts(Dependency query,
List<DependencyRepository> repositories) |
List<DependencyResource> |
DependencyResolverProvider.resolveArtifacts(Dependency dep,
List<DependencyRepository> repositories)
Resolve a set of
DependencyResource artifacts matching the given query, searching in only the given list
of DependencyRepository instances. |
List<DependencyResource> |
DependencyResolver.resolveDependencies(Dependency query) |
List<DependencyResource> |
DependencyResolverProvider.resolveDependencies(Dependency query)
Resolve a set of
DependencyResource dependencies for the given query, searching in the default repository. |
List<DependencyResource> |
DependencyResolver.resolveDependencies(Dependency query,
DependencyRepository repository) |
List<DependencyResource> |
DependencyResolverProvider.resolveDependencies(Dependency query,
DependencyRepository repository)
Resolve a set of
DependencyResource dependencies for the given query, searching in only the given
DependencyRepository. |
List<DependencyResource> |
DependencyResolver.resolveDependencies(Dependency query,
List<DependencyRepository> repositories) |
List<DependencyResource> |
DependencyResolverProvider.resolveDependencies(Dependency dep,
List<DependencyRepository> repositories)
Resolve a set of
DependencyResource dependencies for the given query, searching in only the given list of
DependencyRepository instances. |
DependencyMetadata |
DependencyResolver.resolveDependencyMetadata(Dependency query) |
DependencyMetadata |
DependencyResolverProvider.resolveDependencyMetadata(Dependency query)
Resolve
DependencyMetadata for a given Dependency, searching the default repository. |
DependencyMetadata |
DependencyResolver.resolveDependencyMetadata(Dependency query,
DependencyRepository repository) |
DependencyMetadata |
DependencyResolverProvider.resolveDependencyMetadata(Dependency query,
DependencyRepository repository)
|
DependencyMetadata |
DependencyResolver.resolveDependencyMetadata(Dependency query,
List<DependencyRepository> repositories) |
DependencyMetadata |
DependencyResolverProvider.resolveDependencyMetadata(Dependency query,
List<DependencyRepository> repositories)
Resolve
DependencyMetadata for a given Dependency, searching only the given
DependencyRepository instances. |
List<Dependency> |
DependencyResolver.resolveVersions(Dependency query)
Deprecated.
|
List<Dependency> |
DependencyResolverProvider.resolveVersions(Dependency query)
Resolve a set of
Dependency versions matching the given query, searching in the default repository. |
List<Dependency> |
DependencyResolver.resolveVersions(Dependency query,
DependencyRepository repository)
Deprecated.
|
List<Dependency> |
DependencyResolverProvider.resolveVersions(Dependency query,
DependencyRepository repository)
Resolve a set of
Dependency versions matching the given query, searching in only the given
DependencyRepository. |
List<Dependency> |
DependencyResolver.resolveVersions(Dependency query,
List<DependencyRepository> repositories)
Deprecated.
|
List<Dependency> |
DependencyResolverProvider.resolveVersions(Dependency dep,
List<DependencyRepository> repositories)
Resolve a set of
Dependency versions matching the given query, searching in only the given list of
DependencyRepository instances. |
static String |
DependencyBuilder.toId(Dependency dep)
Convenience method which should be used to convert a
Dependency object into its id representation, for
example: "groupId:artifactId:::version", "groupId:artifactId:packaging::version" or
"groupId:artifactId:packaging:classifier:version" |
static String |
DependencyBuilder.toString(Dependency dep)
Convenience method which should be used to convert a
Dependency object into its string representation, for
example: "groupId:artifactId:version:scope:packaging" |
| Modifier and Type | Method and Description |
|---|---|
void |
DependencyImpl.setExcludedDependencies(List<Dependency> excludedDependencies) |
| Constructor and Description |
|---|
DependencyQueryBuilder(Dependency dependency)
Deprecated.
Use
DependencyQueryBuilder#create() instead. |
| Modifier and Type | Method and Description |
|---|---|
Dependency |
UpdatingDependency.getFrom() |
Dependency |
UpdatedDependency.getFrom() |
Dependency |
UpdatingDependency.getTo() |
Dependency |
UpdatedDependency.getTo() |
| Modifier and Type | Method and Description |
|---|---|
List<Dependency> |
RemovedDependencies.getDependencies()
Return a list of all removed
Dependency objects |
List<Dependency> |
AddedDependencies.getDependencies()
Return a list of all added
Dependency objects |
| Constructor and Description |
|---|
AddedDependencies(Project project,
Dependency... dependencies) |
RemovedDependencies(Project project,
Dependency... dependencies) |
UpdatedDependency(Project project,
Dependency from,
Dependency to) |
UpdatingDependency(Project project,
Dependency from,
Dependency to) |
| Constructor and Description |
|---|
AddedDependencies(Project project,
List<Dependency> dependencies) |
RemovedDependencies(Project project,
List<Dependency> dependencies) |
| Modifier and Type | Method and Description |
|---|---|
Dependency |
DependencyFacet.getDirectDependency(Dependency dependency)
Attempt to locate the given
Dependency, if it exists in the Project direct dependency list, and
return it. |
Dependency |
DependencyFacet.getEffectiveDependency(Dependency dependency)
Attempt to locate the given
Dependency, if it exists anywhere in the Project dependency hierarchy,
and return it. |
Dependency |
DependencyFacet.getEffectiveManagedDependency(Dependency manDep)
Searches
Project and returns a managed dependency matching the given Dependency at any level of
the project hierarchy; return null otherwise. |
Dependency |
DependencyFacet.getManagedDependency(Dependency managedDependency)
Attempt to locate the given managed
Dependency, if it exists in the Project, and return it. |
Dependency |
MetadataFacet.getOutputDependency() |
Dependency |
DependencyFacet.resolveProperties(Dependency dependency)
Resolve properties in the given dependency, converting them to their actual values.
|
| Modifier and Type | Method and Description |
|---|---|
List<Dependency> |
DependencyFacet.getDependencies()
Return an immutable list of all direct
Dependencies contained within this project. |
List<Dependency> |
DependencyFacet.getDependenciesInScopes(ScopeType... scopes)
|
List<Dependency> |
DependencyFacet.getEffectiveDependencies()
Return an immutable list of all
Dependencies contained anywhere within this project's dependency
hierarchy. |
List<Dependency> |
DependencyFacet.getEffectiveDependenciesInScopes(ScopeType... scopes)
|
List<Dependency> |
DependencyFacet.getManagedDependencies()
Return an immutable list of all direct managed
Dependencies contained within this project. |
List<Dependency> |
DependencyFacet.resolveAvailableVersions(Dependency dep)
Given a
Dependency with a populated groupId, versionId, and version range, identify the available
artifacts in all known repositories for this project. |
List<Dependency> |
DependencyFacet.resolveAvailableVersions(DependencyQuery query)
Using the given
DependencyQuery, identify and resolve all matching Dependency results in
configured DependencyRepository instances for this Project. |
List<Dependency> |
DependencyFacet.resolveAvailableVersions(String gavs)
Given a groupid:versionid:version-range, identify and resolve all matching artifacts in all known
DependencyRepository instances for this Project. |
| Modifier and Type | Method and Description |
|---|---|
void |
DependencyFacet.addDirectDependency(Dependency dep)
Add the given
Dependency to this Project's immediate list of dependencies. |
void |
DependencyFacet.addDirectManagedDependency(Dependency dep)
Add the given managed
Dependency to this Project's immediate list of managed dependencies. |
void |
DependencyFacet.addManagedDependency(Dependency managedDependency)
Add the given managed
Dependency to this Project's immediate list of managed dependencies. |
Dependency |
DependencyFacet.getDirectDependency(Dependency dependency)
Attempt to locate the given
Dependency, if it exists in the Project direct dependency list, and
return it. |
Dependency |
DependencyFacet.getEffectiveDependency(Dependency dependency)
Attempt to locate the given
Dependency, if it exists anywhere in the Project dependency hierarchy,
and return it. |
Dependency |
DependencyFacet.getEffectiveManagedDependency(Dependency manDep)
Searches
Project and returns a managed dependency matching the given Dependency at any level of
the project hierarchy; return null otherwise. |
Dependency |
DependencyFacet.getManagedDependency(Dependency managedDependency)
Attempt to locate the given managed
Dependency, if it exists in the Project, and return it. |
boolean |
DependencyFacet.hasDirectDependency(Dependency dependency)
Return true if this
Project contains a dependency matching the given Dependency; return false
otherwise. |
boolean |
DependencyFacet.hasDirectManagedDependency(Dependency managedDependency)
Return true if this
Project contains a managed dependency matching the given Dependency; return
false otherwise. |
boolean |
DependencyFacet.hasEffectiveDependency(Dependency dependency)
Return true if the given
Dependency exists anywhere in the project dependency hierarchy. |
boolean |
DependencyFacet.hasEffectiveManagedDependency(Dependency managedDependency)
Return true if this
Project contains a managed dependency matching the given Dependency at any
level of the project hierarchy; return false otherwise. |
void |
DependencyFacet.removeDependency(Dependency dependency)
Remove the given
Dependency from this facet's Project. |
void |
DependencyFacet.removeManagedDependency(Dependency managedDependency)
Remove the given managed
Dependency from this facet's Project. |
List<Dependency> |
DependencyFacet.resolveAvailableVersions(Dependency dep)
Given a
Dependency with a populated groupId, versionId, and version range, identify the available
artifacts in all known repositories for this project. |
Dependency |
DependencyFacet.resolveProperties(Dependency dependency)
Resolve properties in the given dependency, converting them to their actual values.
|
| Modifier and Type | Method and Description |
|---|---|
Dependency |
DependencyResource.getDependency() |
| Constructor and Description |
|---|
DependencyResource(ResourceFactory resourceFactory,
File file,
Dependency dep) |
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.