public interface DependencyProjectProvider
SubprojectProvider
for code
that wants to access project's dependencies that are also projects.
Unlike some java level API this doesn't distinguish between compile, runtime, test level dependencies.
The implementation by project types is nonmandatory and if it's missing in the project's lookup, users should fallback to SubprojectProvider
Project.getLookup()
Modifier and Type | Interface and Description |
---|---|
static class |
DependencyProjectProvider.Result
non mutable result object
|
Modifier and Type | Method and Description |
---|---|
void |
addChangeListener(ChangeListener listener)
Add a listener to changes in the set of dependency projects.
|
DependencyProjectProvider.Result |
getDependencyProjects() |
void |
removeChangeListener(ChangeListener listener)
Remove a listener to changes in the set of dependency projects.
|
@NonNull DependencyProjectProvider.Result getDependencyProjects()
void addChangeListener(@NonNull ChangeListener listener)
listener
- a listener to addvoid removeChangeListener(@NonNull ChangeListener listener)
listener
- a listener to remove