com.atlassian.confluence.search.lucene.tasks
Class IndexTaskFactory
java.lang.Object
com.atlassian.confluence.search.lucene.tasks.IndexTaskFactory
- public class IndexTaskFactory
- extends Object
Creates index tasks and provides conversion into queue entries for implementations of IndexTaskQueue
Field Summary |
static org.apache.log4j.Category |
LOG
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
public static final org.apache.log4j.Category LOG
IndexTaskFactory
public IndexTaskFactory()
toEntry
public IndexQueueEntry toEntry(IndexTask task)
toTask
public IndexTask toTask(IndexQueueEntry entry)
setAnyTypeObjectDao
public void setAnyTypeObjectDao(AnyTypeObjectDao anyTypeObjectDao)
setDocumentBuilder
public void setDocumentBuilder(DocumentBuilder documentBuilder)
createUnIndexSpaceTask
public IndexTask createUnIndexSpaceTask(Space space)
createDeleteDocumentTask
public IndexTask createDeleteDocumentTask(Searchable searchable)
createUpdateDocumentTask
public IndexTask createUpdateDocumentTask(Searchable searchable)
createAddDocumentTask
public IndexTask createAddDocumentTask(Searchable searchable)
createAddDocumentTask
public AddDocumentIndexTask createAddDocumentTask(String handle)
throws ParseException
- Throws:
ParseException
createDeleteDocumentTask
public DeleteDocumentIndexTask createDeleteDocumentTask(String handle)
throws ParseException
- Throws:
ParseException