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
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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclearFlag(int flag)booleanequals(Object obj)intgetFlags()StringgetScope()inthashCode()voidsetFlag(int flag)StringtoString()-
Methods inherited from class io.quarkus.maven.dependency.GACTV
append, fromString, getArtifactId, getClassifier, getGroupId, getKey, getType, getVersion, 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, toGACTVString
-
Methods inherited from interface io.quarkus.maven.dependency.Dependency
isDeploymentCp, isDirect, isFlagSet, isOptional, isReloadable, isRuntimeCp, isRuntimeExtensionArtifact, isWorkspacetModule
-
-
-
-
Constructor Detail
-
ArtifactDependency
public ArtifactDependency(String groupId, String artifactId, String classifier, String type, String version)
-
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
-
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)
-
-