Interface IResourceDependencyProvider
- All Known Implementing Classes:
ResourceDependencyProvider
public interface IResourceDependencyProvider
A resource dependency provider is in charge of providing the dependencies of resources (local or remote
resources, remote meaning hosted in git for instance).
-
Method Summary
Modifier and TypeMethodDescriptiongetDependenciesOf
(org.eclipse.core.resources.IFile file) Provides the dependencies of the given file.getDependenciesOf
(org.eclipse.core.resources.IFile file, Set<URI> bounds) Provides the dependencies of the given file.boolean
Indicates whether the given parent has the given URI as child according to the graph of dependencies.
-
Method Details
-
getDependenciesOf
Provides the dependencies of the given file.- Parameters:
file
- The file- Returns:
- The file's dependencies, as a never null Iterable over the dependencies
URI
s.
-
getDependenciesOf
Provides the dependencies of the given file.- Parameters:
file
- The filebounds
- The bounds to exclude from the research, in cas the compared resources are part of the same logical model.- Returns:
- The file's dependencies, as a never null Iterable over the dependencies
URI
s.
-
hasChild
Indicates whether the given parent has the given URI as child according to the graph of dependencies.- Parameters:
parent
- The parent URIcandidate
- The candidate child- Returns:
true
if and only if the candidate URI is known as a child of the parent URI in the graph of dependencies.
-