Interface WeaveDependencyComponent
- All Superinterfaces:
org.mule.dx.platform.api.component.ComponentLifecycle,LanguageServerLifecycle,WeaveComponent
This component manages the dependencies for a project and the information
-
Method Summary
Modifier and TypeMethodDescriptionReturns a flat representation of all the project dependenciesReturns the DW version this project depends onvoidreload()Reloads all the dependenciesorg.mule.dx.platform.api.maven.MavenDependencyModelReturns the root dependency model for this project which includes the tree of dependencies resolved.Methods inherited from interface org.mule.weave.extension.api.lifecycle.LanguageServerLifecycle
initialize, initialized, shutdownMethods inherited from interface org.mule.weave.extension.api.component.WeaveComponent
start, stop
-
Method Details
-
dwVersion
String dwVersion()Returns the DW version this project depends on- Returns:
- The DW version this project is using
-
reload
void reload()Reloads all the dependencies -
dependencies
DependencyArtifact[] dependencies()Returns a flat representation of all the project dependencies- Returns:
- The list of all project dependencies
-
rootDependencyModel
org.mule.dx.platform.api.maven.MavenDependencyModel rootDependencyModel()Returns the root dependency model for this project which includes the tree of dependencies resolved. This model contains the project's root artifact and all its transitive dependencies.- Returns:
- the root dependency model with its dependencies.
-