Interface ApplicationModel

  • All Known Implementing Classes:
    AppModel, DefaultApplicationModel

    public interface ApplicationModel
    Application dependency model. Allows to explore application dependencies, Quarkus platforms found in the project configuration and Quarkus platform configuration properties.
    • 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