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
Represents an application (or its dependency) artifact.
- Author:
- Alexey Loubyansky
- See Also:
-
Field Summary
FieldsFields 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) AppArtifact(AppArtifactCoords coords, WorkspaceModule module) AppArtifact(String groupId, String artifactId, String version) AppArtifact(String groupId, String artifactId, String classifier, String type, String version, WorkspaceModule module, String scope, int flags) -
Method Summary
Modifier and TypeMethodDescriptionintgetFlags()getPath()Deprecated.getPaths()Collection of the paths that collectively constitute the artifact's content.getScope()booleanWhether the artifact has been resolved, i.e.voidAssociates the artifact with the given pathvoidsetPaths(PathsCollection paths) 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, toCompactCoords, toGACTVStringMethods inherited from interface io.quarkus.maven.dependency.Dependency
getExclusions, hasAllFlags, hasAnyFlag, isClassLoaderParentFirst, isDeploymentCp, isDirect, isFlagSet, isOptional, isReloadable, isRuntimeCp, isRuntimeExtensionArtifact, isWorkspaceModuleMethods inherited from interface io.quarkus.maven.dependency.ResolvedDependency
getContentTree, getContentTree, getSources
-
Field Details
-
paths
-
-
Constructor Details
-
AppArtifact
-
AppArtifact
-
AppArtifact
-
AppArtifact
-
AppArtifact
-
-
Method Details
-
getPath
Deprecated.in favor ofgetResolvedPaths() -
setPath
Associates the artifact with the given path- Parameters:
path- artifact location
-
getPaths
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
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()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
- Specified by:
getResolvedPathsin interfaceResolvedDependency
-
getWorkspaceModule
- Specified by:
getWorkspaceModulein interfaceResolvedDependency
-
getScope
- Specified by:
getScopein interfaceDependency
-
getFlags
public int getFlags()- Specified by:
getFlagsin interfaceDependency
-
getResolvedPaths()