Package io.quarkus.bootstrap.model
Interface ApplicationModel
-
- All Known Implementing Classes:
DefaultApplicationModel
public interface ApplicationModelApplication dependency model. Allows to explore application dependencies, Quarkus platforms found in the project configuration and Quarkus platform configuration properties.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ResolvedDependencygetAppArtifact()Main application artifactdefault WorkspaceModulegetApplicationModule()Main workspace module of an application.Collection<ResolvedDependency>getDependencies()All the dependencies of an application including runtime and build time dependencies.Collection<ExtensionCapabilities>getExtensionCapabilities()Extension capability requirements collected from the extensions found on the classpath of an applicationSet<ArtifactKey>getLowerPriorityArtifacts()Class loading lower priority artifactsSet<ArtifactKey>getParentFirst()Class loading parent-first artifactsdefault Map<String,String>getPlatformProperties()Quarkus platform configuration propertiesPlatformImportsgetPlatforms()Quarkus platforms (BOMs) found in the configuration of an applicationSet<ArtifactKey>getReloadableWorkspaceDependencies()Local project dependencies that are live-reloadable in dev mode.Map<ArtifactKey,Set<String>>getRemovedResources()Resources that should be removed from the classpath.Set<ArtifactKey>getRunnerParentFirst()Class loading runner parent-first artifactsdefault Collection<ResolvedDependency>getRuntimeDependencies()Runtime dependencies of an applicationdefault Collection<WorkspaceModule>getWorkspaceModules()All the workspace modules found as dependencies of an application
-
-
-
Method Detail
-
getAppArtifact
ResolvedDependency getAppArtifact()
Main application artifact- Returns:
- main application artifact
-
getDependencies
Collection<ResolvedDependency> getDependencies()
All the dependencies of an application including runtime and build time dependencies.- Returns:
- application runtime and build time dependencies
-
getRuntimeDependencies
default Collection<ResolvedDependency> getRuntimeDependencies()
Runtime dependencies of an application- Returns:
- runtime dependencies of an application
-
getPlatforms
PlatformImports getPlatforms()
Quarkus platforms (BOMs) found in the configuration of an application- Returns:
- Quarkus platforms (BOMs) found in the configuration of an application
-
getPlatformProperties
default Map<String,String> getPlatformProperties()
Quarkus platform configuration properties- Returns:
- Quarkus platform configuration properties
-
getExtensionCapabilities
Collection<ExtensionCapabilities> getExtensionCapabilities()
Extension capability requirements collected from the extensions found on the classpath of an application- Returns:
- Extension capability requirements collected from the extensions found on the classpath of an application
-
getParentFirst
Set<ArtifactKey> getParentFirst()
Class loading parent-first artifacts- Returns:
- class loading parent-first artifacts
-
getRunnerParentFirst
Set<ArtifactKey> getRunnerParentFirst()
Class loading runner parent-first artifacts- Returns:
- class loading runner parent-first artifacts
-
getLowerPriorityArtifacts
Set<ArtifactKey> getLowerPriorityArtifacts()
Class loading lower priority artifacts- Returns:
- class loading lower priority artifacts
-
getReloadableWorkspaceDependencies
Set<ArtifactKey> getReloadableWorkspaceDependencies()
Local project dependencies that are live-reloadable in dev mode.- Returns:
- local project dependencies that are live-reloadable in dev mode.
-
getRemovedResources
Map<ArtifactKey,Set<String>> getRemovedResources()
Resources that should be removed from the classpath.- Returns:
- resources that should be removed from the classpath
-
getApplicationModule
default WorkspaceModule getApplicationModule()
Main workspace module of an application. Could be null, in case the project is not available during the build.- Returns:
- main workspace module of an application, could be null, in case the project is not available during the build
-
getWorkspaceModules
default Collection<WorkspaceModule> getWorkspaceModules()
All the workspace modules found as dependencies of an application- Returns:
- all the workspace modules found as dependencies of an application
-
-