|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ResolvedConfiguration
A ResolvedConfiguration
represents the result of resolving a Configuration
, and provides access
to both the artifacts and the meta-data of the result.
Method Summary | |
---|---|
Set<File> |
getFiles(Spec<Dependency> dependencySpec)
Returns the files for the specified subset of configuration dependencies. |
Set<ResolvedDependency> |
getFirstLevelModuleDependencies()
Returns the ResolvedDependency instances for each direct dependency of the configuration. |
Set<ResolvedDependency> |
getFirstLevelModuleDependencies(Spec<Dependency> dependencySpec)
Returns the ResolvedDependency instances for each direct dependency of the configuration that matches
the given spec. |
Set<ResolvedArtifact> |
getResolvedArtifacts()
Returns the set of artifact meta-data for this configuration. |
boolean |
hasError()
Returns whether all dependencies were successfully retrieved or not. |
void |
rethrowFailure()
A resolve of a configuration that is not successful does not automatically throws an exception. |
Method Detail |
---|
boolean hasError()
void rethrowFailure() throws ResolveException
ResolveException
- when the resolve was not successful.Set<File> getFiles(Spec<Dependency> dependencySpec) throws ResolveException
dependencySpec
- The filter for the configuration dependencies.
ResolveException
- when the resolve was not successful.Set<ResolvedDependency> getFirstLevelModuleDependencies() throws ResolveException
ResolvedDependency
instances for each direct dependency of the configuration. Via those
you have access to all ResolvedDependency
instances, including the transitive dependencies of the
configuration.
ResolvedDependency
instance for each direct dependency.
ResolveException
- when the resolve was not successful.Set<ResolvedDependency> getFirstLevelModuleDependencies(Spec<Dependency> dependencySpec) throws ResolveException
ResolvedDependency
instances for each direct dependency of the configuration that matches
the given spec. Via those you have access to all ResolvedDependency
instances, including the transitive
dependencies of the configuration.
dependencySpec
- A filter for the dependencies to be resolved.
ResolvedDependency
instance for each direct dependency.
ResolveException
- when the resolve was not successful.Set<ResolvedArtifact> getResolvedArtifacts() throws ResolveException
ResolveException
- when the resolve was not successful.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |