org.apache.maven.plugin.dependency.utils.filters
Class MarkerFileFilter
java.lang.Object
org.apache.maven.shared.artifact.filter.collection.AbstractArtifactsFilter
org.apache.maven.plugin.dependency.utils.filters.MarkerFileFilter
- All Implemented Interfaces:
- ArtifactItemFilter, org.apache.maven.shared.artifact.filter.collection.ArtifactsFilter
- Direct Known Subclasses:
- ResolveFileFilter
public class MarkerFileFilter
- extends org.apache.maven.shared.artifact.filter.collection.AbstractArtifactsFilter
- implements ArtifactItemFilter
- Version:
- $Id: MarkerFileFilter.java 728546 2008-12-21 22:56:51Z bentmann $
- Author:
- Brian Fox
Methods inherited from class org.apache.maven.shared.artifact.filter.collection.AbstractArtifactsFilter |
isArtifactIncluded |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MarkerFileFilter
public MarkerFileFilter(boolean overWriteReleases,
boolean overWriteSnapshots,
boolean overWriteIfNewer,
MarkerHandler handler)
filter
public java.util.Set filter(java.util.Set artifacts)
throws org.apache.maven.shared.artifact.filter.collection.ArtifactFilterException
- Specified by:
filter
in interface org.apache.maven.shared.artifact.filter.collection.ArtifactsFilter
- Throws:
org.apache.maven.shared.artifact.filter.collection.ArtifactFilterException
isArtifactIncluded
public boolean isArtifactIncluded(ArtifactItem item)
throws org.apache.maven.shared.artifact.filter.collection.ArtifactFilterException
- Specified by:
isArtifactIncluded
in interface ArtifactItemFilter
- Throws:
org.apache.maven.shared.artifact.filter.collection.ArtifactFilterException
isOverWriteReleases
public boolean isOverWriteReleases()
- Returns:
- Returns the overWriteReleases.
setOverWriteReleases
public void setOverWriteReleases(boolean overWriteReleases)
- Parameters:
overWriteReleases
- The overWriteReleases to set.
isOverWriteSnapshots
public boolean isOverWriteSnapshots()
- Returns:
- Returns the overWriteSnapshots.
setOverWriteSnapshots
public void setOverWriteSnapshots(boolean overWriteSnapshots)
- Parameters:
overWriteSnapshots
- The overWriteSnapshots to set.
isOverWriteIfNewer
public boolean isOverWriteIfNewer()
- Returns:
- Returns the overWriteIfNewer.
setOverWriteIfNewer
public void setOverWriteIfNewer(boolean overWriteIfNewer)
- Parameters:
overWriteIfNewer
- The overWriteIfNewer to set.
Copyright © 2002-2009 The Apache Software Foundation. All Rights Reserved.