org.apache.maven.shared.artifact.filter.collection
public class FilterArtifacts extends java.lang.Object
Constructor and Description |
---|
FilterArtifacts() |
Modifier and Type | Method and Description |
---|---|
void |
addFilter(ArtifactsFilter filter)
Appends the specified element to the end of this list.
|
void |
addFilter(int index,
ArtifactsFilter filter)
Inserts the specified element at the specified position in this list.
|
void |
clearFilters()
Removes all of the elements from this list.
|
java.util.Set |
filter(java.util.Set artifacts) |
java.util.ArrayList |
getFilters() |
void |
setFilters(java.util.ArrayList filters) |
public void clearFilters()
public void addFilter(ArtifactsFilter filter)
filter
- element to be appended to this list.public void addFilter(int index, ArtifactsFilter filter)
index
- index at which the specified element is to be inserted.element
- element to be inserted.java.lang.IndexOutOfBoundsException
- if index is out of range (index < 0 || index > size()).public java.util.Set filter(java.util.Set artifacts) throws ArtifactFilterException
ArtifactFilterException
public java.util.ArrayList getFilters()
public void setFilters(java.util.ArrayList filters)
filters
- The filters to set.Copyright © 2014. All Rights Reserved.