org.hibernate.search.backend.impl.lucene.works
Class LuceneWorkVisitor

java.lang.Object
  extended by org.hibernate.search.backend.impl.lucene.works.LuceneWorkVisitor
All Implemented Interfaces:
WorkVisitor<LuceneWorkDelegate>

public class LuceneWorkVisitor
extends Object
implements WorkVisitor<LuceneWorkDelegate>

Author:
Sanne Grinovero

Constructor Summary
LuceneWorkVisitor(Workspace workspace, WorkerBuildContext context)
           
 
Method Summary
 LuceneWorkDelegate getDelegate(AddLuceneWork addLuceneWork)
           
 LuceneWorkDelegate getDelegate(DeleteLuceneWork deleteLuceneWork)
           
 LuceneWorkDelegate getDelegate(OptimizeLuceneWork optimizeLuceneWork)
           
 LuceneWorkDelegate getDelegate(PurgeAllLuceneWork purgeAllLuceneWork)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LuceneWorkVisitor

public LuceneWorkVisitor(Workspace workspace,
                         WorkerBuildContext context)
Method Detail

getDelegate

public LuceneWorkDelegate getDelegate(AddLuceneWork addLuceneWork)
Specified by:
getDelegate in interface WorkVisitor<LuceneWorkDelegate>

getDelegate

public LuceneWorkDelegate getDelegate(DeleteLuceneWork deleteLuceneWork)
Specified by:
getDelegate in interface WorkVisitor<LuceneWorkDelegate>

getDelegate

public LuceneWorkDelegate getDelegate(OptimizeLuceneWork optimizeLuceneWork)
Specified by:
getDelegate in interface WorkVisitor<LuceneWorkDelegate>

getDelegate

public LuceneWorkDelegate getDelegate(PurgeAllLuceneWork purgeAllLuceneWork)
Specified by:
getDelegate in interface WorkVisitor<LuceneWorkDelegate>


Copyright © 2006-2012 Red Hat Middleware, LLC. All Rights Reserved