Package io.quarkus.bootstrap.model
Class DefaultApplicationModel
- java.lang.Object
-
- io.quarkus.bootstrap.model.DefaultApplicationModel
-
- All Implemented Interfaces:
ApplicationModel,Serializable
public class DefaultApplicationModel extends Object implements ApplicationModel, Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DefaultApplicationModel(ApplicationModelBuilder builder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResolvedDependencygetAppArtifact()Main application artifactCollection<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 artifactsPlatformImportsgetPlatforms()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 artifacts-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.quarkus.bootstrap.model.ApplicationModel
getApplicationModule, getPlatformProperties, getRuntimeDependencies, getWorkspaceModules
-
-
-
-
Constructor Detail
-
DefaultApplicationModel
public DefaultApplicationModel(ApplicationModelBuilder builder)
-
-
Method Detail
-
getAppArtifact
public ResolvedDependency getAppArtifact()
Description copied from interface:ApplicationModelMain application artifact- Specified by:
getAppArtifactin interfaceApplicationModel- Returns:
- main application artifact
-
getDependencies
public Collection<ResolvedDependency> getDependencies()
Description copied from interface:ApplicationModelAll the dependencies of an application including runtime and build time dependencies.- Specified by:
getDependenciesin interfaceApplicationModel- Returns:
- application runtime and build time dependencies
-
getPlatforms
public PlatformImports getPlatforms()
Description copied from interface:ApplicationModelQuarkus platforms (BOMs) found in the configuration of an application- Specified by:
getPlatformsin interfaceApplicationModel- Returns:
- Quarkus platforms (BOMs) found in the configuration of an application
-
getExtensionCapabilities
public Collection<ExtensionCapabilities> getExtensionCapabilities()
Description copied from interface:ApplicationModelExtension capability requirements collected from the extensions found on the classpath of an application- Specified by:
getExtensionCapabilitiesin interfaceApplicationModel- Returns:
- Extension capability requirements collected from the extensions found on the classpath of an application
-
getParentFirst
public Set<ArtifactKey> getParentFirst()
Description copied from interface:ApplicationModelClass loading parent-first artifacts- Specified by:
getParentFirstin interfaceApplicationModel- Returns:
- class loading parent-first artifacts
-
getRunnerParentFirst
public Set<ArtifactKey> getRunnerParentFirst()
Description copied from interface:ApplicationModelClass loading runner parent-first artifacts- Specified by:
getRunnerParentFirstin interfaceApplicationModel- Returns:
- class loading runner parent-first artifacts
-
getLowerPriorityArtifacts
public Set<ArtifactKey> getLowerPriorityArtifacts()
Description copied from interface:ApplicationModelClass loading lower priority artifacts- Specified by:
getLowerPriorityArtifactsin interfaceApplicationModel- Returns:
- class loading lower priority artifacts
-
getReloadableWorkspaceDependencies
public Set<ArtifactKey> getReloadableWorkspaceDependencies()
Description copied from interface:ApplicationModelLocal project dependencies that are live-reloadable in dev mode.- Specified by:
getReloadableWorkspaceDependenciesin interfaceApplicationModel- Returns:
- local project dependencies that are live-reloadable in dev mode.
-
getRemovedResources
public Map<ArtifactKey,Set<String>> getRemovedResources()
Description copied from interface:ApplicationModelResources that should be removed from the classpath.- Specified by:
getRemovedResourcesin interfaceApplicationModel- Returns:
- resources that should be removed from the classpath
-
-