public class IndexUpdateRequest
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private boolean |
cacheOnly |
private IndexingContext |
context |
private FSDirectoryFactory |
directoryFactory |
private DocumentFilter |
documentFilter |
private boolean |
forceFullUpdate |
private boolean |
incrementalOnly |
private java.io.File |
localIndexCacheDir |
private Locker |
locker |
private boolean |
offline |
private ResourceFetcher |
resourceFetcher |
Constructor and Description |
---|
IndexUpdateRequest(IndexingContext context,
ResourceFetcher resourceFetcher) |
Modifier and Type | Method and Description |
---|---|
DocumentFilter |
getDocumentFilter() |
FSDirectoryFactory |
getFSDirectoryFactory() |
IndexingContext |
getIndexingContext() |
java.io.File |
getLocalIndexCacheDir() |
Locker |
getLocker() |
ResourceFetcher |
getResourceFetcher() |
boolean |
isCacheOnly() |
boolean |
isForceFullUpdate() |
boolean |
isIncrementalOnly() |
boolean |
isOffline() |
void |
setCacheOnly(boolean cacheOnly) |
void |
setDocumentFilter(DocumentFilter documentFilter) |
void |
setForceFullUpdate(boolean forceFullUpdate) |
void |
setFSDirectoryFactory(FSDirectoryFactory factory) |
void |
setIncrementalOnly(boolean incrementalOnly) |
void |
setLocalIndexCacheDir(java.io.File dir) |
void |
setLocker(Locker locker) |
void |
setOffline(boolean offline) |
private final IndexingContext context
private final ResourceFetcher resourceFetcher
private DocumentFilter documentFilter
private boolean forceFullUpdate
private boolean incrementalOnly
private java.io.File localIndexCacheDir
private Locker locker
private boolean offline
private boolean cacheOnly
private FSDirectoryFactory directoryFactory
public IndexUpdateRequest(IndexingContext context, ResourceFetcher resourceFetcher)
public IndexingContext getIndexingContext()
public ResourceFetcher getResourceFetcher()
public DocumentFilter getDocumentFilter()
public void setDocumentFilter(DocumentFilter documentFilter)
public void setForceFullUpdate(boolean forceFullUpdate)
public boolean isForceFullUpdate()
public boolean isIncrementalOnly()
public void setIncrementalOnly(boolean incrementalOnly)
public java.io.File getLocalIndexCacheDir()
public void setLocalIndexCacheDir(java.io.File dir)
public Locker getLocker()
public void setLocker(Locker locker)
public void setOffline(boolean offline)
public boolean isOffline()
public void setCacheOnly(boolean cacheOnly)
public boolean isCacheOnly()
public void setFSDirectoryFactory(FSDirectoryFactory factory)
public FSDirectoryFactory getFSDirectoryFactory()