@Incubating public interface ResolutionResult
| Modifier and Type | Method and Description |
|---|---|
void |
allComponents(Action<? super ResolvedComponentResult> action)
Applies given action for each component.
|
void |
allComponents(Closure closure)
Applies given closure for each component.
|
void |
allDependencies(Action<? super DependencyResult> action)
Applies given action for each dependency.
|
void |
allDependencies(Closure closure)
Applies given closure for each dependency.
|
Set<ResolvedComponentResult> |
getAllComponents()
Retrieves all instances of
ResolvedComponentResult from the graph,
e.g. |
Set<? extends DependencyResult> |
getAllDependencies()
Retrieves all dependencies, including unresolved dependencies.
|
ResolvedComponentResult |
getRoot()
Gives access to the root of resolved dependency graph.
|
ResolvedComponentResult getRoot()
Set<? extends DependencyResult> getAllDependencies()
ResolvedDependencyResult,
unresolved dependencies by UnresolvedDependencyResult.
In dependency graph terminology, this method returns the edges of the graph.void allDependencies(Action<? super DependencyResult> action)
DependencyResult is passed as parameter to the action.action - - action that is applied for each dependencyvoid allDependencies(Closure closure)
DependencyResult is passed as parameter to the closure.closure - - closure that is applied for each dependencySet<ResolvedComponentResult> getAllComponents()
ResolvedComponentResult from the graph,
e.g. all nodes of the dependency graph.void allComponents(Action<? super ResolvedComponentResult> action)
ResolvedComponentResult is passed as parameter to the action.action - - action that is applied for each componentvoid allComponents(Closure closure)
ResolvedComponentResult is passed as parameter to the closure.closure - - closure that is applied for each component