public class Artifacts extends ArrayList<org.apache.maven.artifact.Artifact>
Artifacts.modCount| Constructor and Description |
|---|
Artifacts() |
Artifacts(Collection<? extends org.apache.maven.artifact.Artifact> c) |
| Modifier and Type | Method and Description |
|---|---|
Artifacts |
artifactIdIs(String... artifactId) |
Artifacts |
artifactIdIsNot(String... artifactId) |
Artifacts |
groupIdIs(String... groupId) |
Artifacts |
groupIdIsNot(String... groupId) |
static Artifacts |
of(org.apache.maven.project.MavenProject p)
Return the
Artifacts representing dependencies of the given project. |
static Artifacts |
ofDirectDependencies(org.apache.maven.project.MavenProject p) |
Artifacts |
removeAll(com.google.common.base.Predicate<org.apache.maven.artifact.Artifact> filter) |
Artifacts |
retainAll(com.google.common.base.Predicate<org.apache.maven.artifact.Artifact> filter) |
Artifacts |
scopeIs(String... scopes) |
Artifacts |
scopeIsNot(String... scopes) |
Artifacts |
typeIs(String... type) |
Artifacts |
typeIsNot(String... type) |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeRange, retainAll, set, size, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCodepublic Artifacts()
public Artifacts(Collection<? extends org.apache.maven.artifact.Artifact> c)
public static Artifacts of(org.apache.maven.project.MavenProject p)
Artifacts representing dependencies of the given project.
A thin-wrapper of p.getArtifacts()public static Artifacts ofDirectDependencies(org.apache.maven.project.MavenProject p)
public Artifacts retainAll(com.google.common.base.Predicate<org.apache.maven.artifact.Artifact> filter)
public Artifacts removeAll(com.google.common.base.Predicate<org.apache.maven.artifact.Artifact> filter)
Copyright © 2004-2016. All Rights Reserved.