org.apache.archiva.consumers.functors
Class ConsumerWantsFilePredicate

java.lang.Object
  extended by org.apache.archiva.consumers.functors.ConsumerWantsFilePredicate
All Implemented Interfaces:
org.apache.commons.collections.Predicate

public class ConsumerWantsFilePredicate
extends Object
implements org.apache.commons.collections.Predicate

ConsumerWantsFilePredicate


Field Summary
private  BaseFile basefile
           
private  long changesSince
           
private  boolean isCaseSensitive
           
private  int wantedFileCount
           
 
Constructor Summary
ConsumerWantsFilePredicate()
           
 
Method Summary
 boolean evaluate(Object object)
           
 BaseFile getBasefile()
           
 int getWantedFileCount()
           
 boolean isCaseSensitive()
           
 void setBasefile(BaseFile basefile)
           
 void setCaseSensitive(boolean isCaseSensitive)
           
 void setChangesSince(long changesSince)
           
private  boolean wantsFile(RepositoryContentConsumer consumer, String relativePath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

basefile

private BaseFile basefile

isCaseSensitive

private boolean isCaseSensitive

wantedFileCount

private int wantedFileCount

changesSince

private long changesSince
Constructor Detail

ConsumerWantsFilePredicate

public ConsumerWantsFilePredicate()
Method Detail

evaluate

public boolean evaluate(Object object)
Specified by:
evaluate in interface org.apache.commons.collections.Predicate

getBasefile

public BaseFile getBasefile()

getWantedFileCount

public int getWantedFileCount()

isCaseSensitive

public boolean isCaseSensitive()

setBasefile

public void setBasefile(BaseFile basefile)

setCaseSensitive

public void setCaseSensitive(boolean isCaseSensitive)

wantsFile

private boolean wantsFile(RepositoryContentConsumer consumer,
                          String relativePath)

setChangesSince

public void setChangesSince(long changesSince)


Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.