public class ConsumerWantsFilePredicate extends Object implements org.apache.commons.collections.Predicate
Modifier and Type | Field and Description |
---|---|
private BaseFile |
basefile |
private long |
changesSince |
private boolean |
isCaseSensitive |
private org.slf4j.Logger |
logger |
private ManagedRepository |
managedRepository |
private int |
wantedFileCount |
Constructor and Description |
---|
ConsumerWantsFilePredicate()
Deprecated.
use constructor with ManagedRepository
|
ConsumerWantsFilePredicate(ManagedRepository managedRepository) |
Modifier and Type | Method and Description |
---|---|
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) |
private boolean isCaseSensitive
private int wantedFileCount
private long changesSince
private ManagedRepository managedRepository
private org.slf4j.Logger logger
public ConsumerWantsFilePredicate()
public ConsumerWantsFilePredicate(ManagedRepository managedRepository)
public boolean evaluate(Object object)
evaluate
in interface org.apache.commons.collections.Predicate
public BaseFile getBasefile()
public int getWantedFileCount()
public boolean isCaseSensitive()
public void setBasefile(BaseFile basefile)
public void setCaseSensitive(boolean isCaseSensitive)
private boolean wantsFile(RepositoryContentConsumer consumer, String relativePath)
public void setChangesSince(long changesSince)
Copyright © 2006–2023 The Apache Software Foundation. All rights reserved.