Package org.apache.maven.internal.impl
Class DefaultDependency
java.lang.Object
org.apache.maven.internal.impl.DefaultDependency
- All Implemented Interfaces:
Artifact,Dependency
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultDependency(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:
getGroupIdin interfaceArtifact
-
getArtifactId
- Specified by:
getArtifactIdin interfaceArtifact
-
getClassifier
- Specified by:
getClassifierin interfaceArtifact
-
getVersion
- Specified by:
getVersionin interfaceArtifact
-
getBaseVersion
- Specified by:
getBaseVersionin interfaceArtifact
-
getExtension
- Specified by:
getExtensionin interfaceArtifact
-
getType
- Specified by:
getTypein interfaceDependency
-
isSnapshot
public boolean isSnapshot()- Specified by:
isSnapshotin interfaceArtifact
-
getScope
- Specified by:
getScopein interfaceDependency
-
isOptional
- Specified by:
isOptionalin interfaceDependency
-
toCoordinate
- Specified by:
toCoordinatein interfaceArtifact- Specified by:
toCoordinatein interfaceDependency
-
equals
-
hashCode
public int hashCode() -
toString
-