Package io.quarkus.maven.dependency
Class ArtifactDependency
- java.lang.Object
-
- io.quarkus.maven.dependency.GACTV
-
- io.quarkus.maven.dependency.ArtifactDependency
-
- All Implemented Interfaces:
ArtifactCoords,Dependency,Serializable
- Direct Known Subclasses:
ResolvedArtifactDependency
public class ArtifactDependency extends GACTV implements Dependency, Serializable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface io.quarkus.maven.dependency.ArtifactCoords
DEFAULT_CLASSIFIER, TYPE_JAR, TYPE_POM
-
-
Constructor Summary
Constructors Constructor Description ArtifactDependency(io.quarkus.maven.dependency.AbstractDependencyBuilder<?,?> builder)ArtifactDependency(ArtifactCoords coords, int... flags)ArtifactDependency(ArtifactCoords coords, String scope, int... flags)ArtifactDependency(Dependency d)ArtifactDependency(String groupId, String artifactId, String classifier, String type, String version)ArtifactDependency(String groupId, String artifactId, String classifier, String type, String version, String scope, boolean optional)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidclearFlag(int flag)booleanequals(Object obj)intgetFlags()StringgetScope()inthashCode()static Dependencyof(String groupId, String artifactId, String version)Deprecated, for removal: This API element is subject to removal in a future version.voidsetFlag(int flag)StringtoString()-
Methods inherited from class io.quarkus.maven.dependency.GACTV
append, fromString, getArtifactId, getClassifier, getGroupId, getKey, getType, getVersion, jar, pom, split
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.quarkus.maven.dependency.ArtifactCoords
getArtifactId, getClassifier, getGroupId, getKey, getType, getVersion, isJar, toCompactCoords, toGACTVString
-
Methods inherited from interface io.quarkus.maven.dependency.Dependency
isDeploymentCp, isDirect, isFlagSet, isOptional, isReloadable, isRuntimeCp, isRuntimeExtensionArtifact, isWorkspaceModule
-
-
-
-
Constructor Detail
-
ArtifactDependency
public ArtifactDependency(String groupId, String artifactId, String classifier, String type, String version)
-
ArtifactDependency
public ArtifactDependency(String groupId, String artifactId, String classifier, String type, String version, String scope, boolean optional)
-
ArtifactDependency
public ArtifactDependency(ArtifactCoords coords, int... flags)
-
ArtifactDependency
public ArtifactDependency(ArtifactCoords coords, String scope, int... flags)
-
ArtifactDependency
public ArtifactDependency(Dependency d)
-
ArtifactDependency
public ArtifactDependency(io.quarkus.maven.dependency.AbstractDependencyBuilder<?,?> builder)
-
-
Method Detail
-
of
@Deprecated(forRemoval=true) public static Dependency of(String groupId, String artifactId, String version)
Deprecated, for removal: This API element is subject to removal in a future version.
-
getScope
public String getScope()
- Specified by:
getScopein interfaceDependency
-
getFlags
public int getFlags()
- Specified by:
getFlagsin interfaceDependency
-
setFlag
public void setFlag(int flag)
-
clearFlag
public void clearFlag(int flag)
-
-