Interface IResolutionContext
- All Known Implementing Classes:
DefaultResolutionContext
public interface IResolutionContext
A resolution context provides the different elements that can be involved in a comparison taking logical
models into account. One instance of this interface is supposed to provide elements that are consistent
with one another, that is, which can be used together in the same computation.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
Disposes the context.The provider of dependencies between resources / URIscom.google.common.eventbus.EventBus
TheEventBus
to use to broadcast and receive events.getGraph()
The graph of dependencies.The graph updater, in charge of making changes to the dependency graph.The implicit dependencies provider.The resolver for local resources.The listener of model resource changes.The resolver for "remote" (git) resources.The scheduler used to support multi-threading.void
Initializes the context.
-
Method Details
-
getEventBus
com.google.common.eventbus.EventBus getEventBus()TheEventBus
to use to broadcast and receive events. -
getGraph
The graph of dependencies. -
getGraphUpdater
DependencyGraphUpdater<URI> getGraphUpdater()The graph updater, in charge of making changes to the dependency graph. -
getScheduler
ResourceComputationScheduler<URI> getScheduler()The scheduler used to support multi-threading. -
getDependencyProvider
IResourceDependencyProvider getDependencyProvider()The provider of dependencies between resources / URIs -
getLocalResolver
IResourceDependencyLocalResolver getLocalResolver()The resolver for local resources. -
getRemoteResolver
IResourceDependencyRemoteResolver getRemoteResolver()The resolver for "remote" (git) resources. -
getModelResourceListener
ModelResourceListener getModelResourceListener()The listener of model resource changes. -
getImplicitDependencies
IImplicitDependencies getImplicitDependencies()The implicit dependencies provider. -
initialize
void initialize()Initializes the context. -
dispose
void dispose()Disposes the context.
-