public class MavenArtifactInfoImpl extends Object implements MavenArtifactInfo
MavenArtifactInfo.| Modifier and Type | Field and Description |
|---|---|
protected MavenArtifactInfo[] |
dependencies |
protected String |
extension |
protected MavenCoordinate |
mavenCoordinate |
protected boolean |
optional |
protected String |
resolvedVersion |
protected ScopeType |
scopeType |
protected boolean |
snapshotVersion |
| Modifier | Constructor and Description |
|---|---|
protected |
MavenArtifactInfoImpl(org.eclipse.aether.artifact.Artifact artifact,
ScopeType scopeType,
List<org.eclipse.aether.graph.DependencyNode> children,
boolean optional) |
protected |
MavenArtifactInfoImpl(MavenCoordinate mavenCoordinate,
String resolvedVersion,
boolean snapshotVersion,
String extension,
ScopeType scopeType,
MavenArtifactInfo[] dependencies,
boolean optional) |
| Modifier and Type | Method and Description |
|---|---|
MavenCoordinate |
getCoordinate() |
MavenArtifactInfo[] |
getDependencies() |
String |
getExtension() |
String |
getResolvedVersion() |
ScopeType |
getScope() |
boolean |
isOptional() |
boolean |
isSnapshotVersion() |
protected MavenArtifactInfo[] |
parseDependencies(List<org.eclipse.aether.graph.DependencyNode> children)
Produces MavenArtifactInfo array from List of DependencyNode's.
|
String |
toString() |
protected final MavenCoordinate mavenCoordinate
protected final String resolvedVersion
protected final boolean snapshotVersion
protected final String extension
protected final ScopeType scopeType
protected final boolean optional
protected final MavenArtifactInfo[] dependencies
protected MavenArtifactInfoImpl(MavenCoordinate mavenCoordinate, String resolvedVersion, boolean snapshotVersion, String extension, ScopeType scopeType, MavenArtifactInfo[] dependencies, boolean optional)
protected MavenArtifactInfo[] parseDependencies(List<org.eclipse.aether.graph.DependencyNode> children)
children - A list of DependencyNode'sMavenArtifactInfo array from List of DependencyNode's.public MavenCoordinate getCoordinate()
getCoordinate in interface MavenArtifactInfoMavenArtifactInfo.getCoordinate()public String getResolvedVersion()
getResolvedVersion in interface MavenArtifactInfoMavenArtifactInfo.getResolvedVersion()public boolean isSnapshotVersion()
isSnapshotVersion in interface MavenArtifactInfoMavenArtifactInfo.isSnapshotVersion()public String getExtension()
getExtension in interface MavenArtifactInfoMavenArtifactInfo.getExtension()public MavenArtifactInfo[] getDependencies()
getDependencies in interface MavenArtifactInfoMavenArtifactInfo.getDependencies()public ScopeType getScope()
getScope in interface MavenArtifactInfopublic boolean isOptional()
isOptional in interface MavenArtifactInfoCopyright © 2019 JBoss by Red Hat. All rights reserved.