final class RootArtifact
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private Aether |
aether
The aether for finding children.
|
private org.sonatype.aether.artifact.Artifact |
art
The artifact.
|
private java.util.List<org.apache.maven.model.Exclusion> |
exclusions
Exclusions.
|
| Constructor and Description |
|---|
RootArtifact(Aether aeth,
org.sonatype.aether.artifact.Artifact artifact,
java.util.List<org.apache.maven.model.Exclusion> excl)
Ctor.
|
| Modifier and Type | Method and Description |
|---|---|
org.sonatype.aether.artifact.Artifact |
artifact()
Get artifact.
|
java.util.Collection<org.sonatype.aether.artifact.Artifact> |
children()
Get all deps of this root artifact.
|
boolean |
excluded(org.sonatype.aether.artifact.Artifact artifact)
Is this one should be excluded?
|
java.lang.String |
toString() |
private final transient Aether aether
private final transient org.sonatype.aether.artifact.Artifact art
private final transient java.util.List<org.apache.maven.model.Exclusion> exclusions
public RootArtifact(Aether aeth, org.sonatype.aether.artifact.Artifact artifact, java.util.List<org.apache.maven.model.Exclusion> excl)
aeth - Aether for finding childrenartifact - The artifactexcl - Exclusionspublic java.lang.String toString()
toString in class java.lang.Objectpublic org.sonatype.aether.artifact.Artifact artifact()
public java.util.Collection<org.sonatype.aether.artifact.Artifact> children()
throws org.sonatype.aether.resolution.DependencyResolutionException
org.sonatype.aether.resolution.DependencyResolutionException - If fails to resolvepublic boolean excluded(org.sonatype.aether.artifact.Artifact artifact)
artifact - The artifact to check