Package org.apache.maven.internal.impl
Class DefaultDependency
java.lang.Object
org.apache.maven.internal.impl.DefaultDependency
- All Implemented Interfaces:
Artifact
,Dependency
-
Constructor Summary
ConstructorDescriptionDefaultDependency
(InternalSession session, org.eclipse.aether.graph.Dependency dependency) -
Method Summary
-
Constructor Details
-
DefaultDependency
public DefaultDependency(@Nonnull InternalSession session, @Nonnull org.eclipse.aether.graph.Dependency dependency)
-
-
Method Details
-
key
-
getDependency
-
getGroupId
- Specified by:
getGroupId
in interfaceArtifact
-
getArtifactId
- Specified by:
getArtifactId
in interfaceArtifact
-
getClassifier
- Specified by:
getClassifier
in interfaceArtifact
-
getVersion
- Specified by:
getVersion
in interfaceArtifact
-
getBaseVersion
- Specified by:
getBaseVersion
in interfaceArtifact
-
getExtension
- Specified by:
getExtension
in interfaceArtifact
-
getType
- Specified by:
getType
in interfaceDependency
-
isSnapshot
public boolean isSnapshot()- Specified by:
isSnapshot
in interfaceArtifact
-
getScope
- Specified by:
getScope
in interfaceDependency
-
isOptional
- Specified by:
isOptional
in interfaceDependency
-
toCoordinate
- Specified by:
toCoordinate
in interfaceArtifact
- Specified by:
toCoordinate
in interfaceDependency
-
equals
-
hashCode
public int hashCode() -
toString
-