Interface ApplicationModel

All Known Implementing Classes:
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 Details

    • getAppArtifact

      ResolvedDependency getAppArtifact()
      Main application artifact
      Returns:
      main application artifact
    • getDependencies

      Collection<ResolvedDependency> getDependencies()
      Returns application dependencies that are included into the runtime and augmentation (Quarkus build time) classpath.
      Returns:
      application runtime and build time dependencies
    • getDependencies

      Iterable<ResolvedDependency> getDependencies(int flags)
      Returns application dependencies with the requested flags set.
      Parameters:
      flags - dependency flags that must be set for a dependency to be included in the result
      Returns:
      application dependencies that have requested flags set
    • getDependenciesWithAnyFlag

      Iterable<ResolvedDependency> getDependenciesWithAnyFlag(int flags)
      Returns application dependencies that have any of the flags combined in the value of the flags arguments set.
      Parameters:
      flags - dependency flags to match
      Returns:
      application dependencies that matched the flags
    • getDependenciesWithAnyFlag

      default Iterable<ResolvedDependency> getDependenciesWithAnyFlag(int... flags)
      Returns application dependencies that have any of the flags passed in as arguments set.
      Parameters:
      flags - dependency flags to match
      Returns:
      application dependencies that matched the flags
    • getRuntimeDependencies

      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
    • getExtensionDevModeConfig

      Collection<ExtensionDevModeConfig> getExtensionDevModeConfig()
      Extension Dev mode configuration options.
      Returns:
      extension Dev mode configuration options