org.jenkinsci.maven.plugins.hpi
Class Artifacts
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<org.apache.maven.artifact.Artifact>
org.jenkinsci.maven.plugins.hpi.Artifacts
- All Implemented Interfaces:
- Serializable, Cloneable, Iterable<org.apache.maven.artifact.Artifact>, Collection<org.apache.maven.artifact.Artifact>, List<org.apache.maven.artifact.Artifact>, RandomAccess
public class Artifacts
- extends ArrayList<org.apache.maven.artifact.Artifact>
Collection filter operations on a set of Artifacts.
- Author:
- Kohsuke Kawaguchi
- See Also:
- Serialized Form
| Methods inherited from class java.util.ArrayList |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize |
Artifacts
public Artifacts()
Artifacts
public Artifacts(Collection<? extends org.apache.maven.artifact.Artifact> c)
of
public static Artifacts of(org.apache.maven.project.MavenProject p)
- Return the
Artifacts representing dependencies of the given project.
A thin-wrapper of p.getArtifacts()
retainAll
public Artifacts retainAll(com.google.common.base.Predicate<org.apache.maven.artifact.Artifact> filter)
removeAll
public Artifacts removeAll(com.google.common.base.Predicate<org.apache.maven.artifact.Artifact> filter)
scopeIs
public Artifacts scopeIs(String... scopes)
scopeIsNot
public Artifacts scopeIsNot(String... scopes)
typeIs
public Artifacts typeIs(String... type)
typeIsNot
public Artifacts typeIsNot(String... type)
groupIdIs
public Artifacts groupIdIs(String... groupId)
groupIdIsNot
public Artifacts groupIdIsNot(String... groupId)
artifactIdIs
public Artifacts artifactIdIs(String... artifactId)
artifactIdIsNot
public Artifacts artifactIdIsNot(String... artifactId)
Copyright © 2004-2012. All Rights Reserved.