Class AppArtifact

java.lang.Object
io.quarkus.bootstrap.model.AppArtifactCoords
io.quarkus.bootstrap.model.AppArtifact
All Implemented Interfaces:
ArtifactCoords, Dependency, ResolvedDependency, Serializable

@Deprecated(forRemoval=true, since="3.11.0") public class AppArtifact extends AppArtifactCoords implements ResolvedDependency, Serializable
Deprecated, for removal: This API element is subject to removal in a future version.
Represents an application (or its dependency) artifact.
Author:
Alexey Loubyansky
See Also:
  • Field Details

    • paths

      protected PathsCollection paths
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Constructor Details

    • AppArtifact

      public AppArtifact(AppArtifactCoords coords)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • AppArtifact

      public AppArtifact(AppArtifactCoords coords, WorkspaceModule module)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • AppArtifact

      public AppArtifact(String groupId, String artifactId, String version)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • AppArtifact

      public AppArtifact(String groupId, String artifactId, String classifier, String type, String version)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • AppArtifact

      public AppArtifact(String groupId, String artifactId, String classifier, String type, String version, WorkspaceModule module, String scope, int flags)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • getPath

      @Deprecated public Path getPath()
      Deprecated.
      in favor of getResolvedPaths()
    • setPath

      public void setPath(Path path)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Associates the artifact with the given path
      Parameters:
      path - artifact location
    • getPaths

      public PathsCollection getPaths()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Collection of the paths that collectively constitute the artifact's content. Normally, especially in the Maven world, an artifact is resolved to a single path, e.g. a JAR or a project's output directory. However, in Gradle, depending on the build/test phase, artifact's content may need to be represented as a collection of paths.
      Returns:
      collection of paths that constitute the artifact's content
    • setPaths

      public void setPaths(PathsCollection paths)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Associates the artifact with a collection of paths that constitute its content.
      Parameters:
      paths - collection of paths that constitute the artifact's content.
    • isResolved

      public boolean isResolved()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Whether the artifact has been resolved, i.e. associated with paths that constitute its content.
      Specified by:
      isResolved in interface ResolvedDependency
      Returns:
      true if the artifact has been resolved, otherwise - false
    • getResolvedPaths

      public PathCollection getResolvedPaths()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getResolvedPaths in interface ResolvedDependency
    • getWorkspaceModule

      public WorkspaceModule getWorkspaceModule()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getWorkspaceModule in interface ResolvedDependency
    • getScope

      public String getScope()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getScope in interface Dependency
    • getFlags

      public int getFlags()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getFlags in interface Dependency
    • getDependencies

      public Collection<ArtifactCoords> getDependencies()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getDependencies in interface ResolvedDependency