Package io.quarkus.bootstrap.model
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 Summary
FieldsModifier and TypeFieldDescriptionprotected PathsCollectionDeprecated, for removal: This API element is subject to removal in a future version.Fields inherited from class io.quarkus.bootstrap.model.AppArtifactCoords
artifactId, classifier, groupId, key, type, TYPE_JAR, TYPE_POM, versionFields inherited from interface io.quarkus.maven.dependency.ArtifactCoords
DEFAULT_CLASSIFIER, TYPE_JAR, TYPE_POMFields inherited from interface io.quarkus.maven.dependency.Dependency
SCOPE_COMPILE, SCOPE_IMPORT -
Constructor Summary
ConstructorsConstructorDescriptionAppArtifact(AppArtifactCoords coords) Deprecated, for removal: This API element is subject to removal in a future version.AppArtifact(AppArtifactCoords coords, WorkspaceModule module) Deprecated, for removal: This API element is subject to removal in a future version.AppArtifact(String groupId, String artifactId, String version) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.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 Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.intgetFlags()Deprecated, for removal: This API element is subject to removal in a future version.getPath()Deprecated.in favor ofgetResolvedPaths()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.Deprecated, for removal: This API element is subject to removal in a future version.getScope()Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.booleanDeprecated, 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.voidDeprecated, for removal: This API element is subject to removal in a future version.Associates the artifact with the given pathvoidsetPaths(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.Methods inherited from class io.quarkus.bootstrap.model.AppArtifactCoords
append, equals, fromString, getArtifactId, getClassifier, getGroupId, getKey, getType, getVersion, hashCode, split, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface io.quarkus.maven.dependency.ArtifactCoords
getArtifactId, getClassifier, getGroupId, getKey, getType, getVersion, isJar, isSnapshot, toCompactCoords, toGACTVStringMethods inherited from interface io.quarkus.maven.dependency.Dependency
getExclusions, hasAllFlags, hasAnyFlag, isAnyFlagSet, isClassLoaderParentFirst, isDeploymentCp, isDirect, isFlagSet, isOptional, isReloadable, isRuntimeCp, isRuntimeExtensionArtifact, isWorkspaceModuleMethods inherited from interface io.quarkus.maven.dependency.ResolvedDependency
getContentTree, getContentTree, getSources
-
Field Details
-
paths
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Constructor Details
-
AppArtifact
Deprecated, for removal: This API element is subject to removal in a future version. -
AppArtifact
Deprecated, for removal: This API element is subject to removal in a future version. -
AppArtifact
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.in favor ofgetResolvedPaths() -
setPath
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
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
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:
isResolvedin interfaceResolvedDependency- Returns:
- true if the artifact has been resolved, otherwise - false
-
getResolvedPaths
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getResolvedPathsin interfaceResolvedDependency
-
getWorkspaceModule
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getWorkspaceModulein interfaceResolvedDependency
-
getScope
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getScopein interfaceDependency
-
getFlags
public int getFlags()Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getFlagsin interfaceDependency
-
getDependencies
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
getDependenciesin interfaceResolvedDependency
-
ResolvedDependencyandDependency.