Class IndexSynchronizedContentObserver
- java.lang.Object
-
- org.apache.avalon.framework.logger.AbstractLogEnabled
-
- org.ametys.cms.content.indexing.solr.observation.IndexContentObserver
-
- org.ametys.plugins.contentio.synchronize.observation.IndexSynchronizedContentObserver
-
- All Implemented Interfaces:
AsyncObserver
,Observer
,Contextualizable
,LogEnabled
,Serviceable
public class IndexSynchronizedContentObserver extends IndexContentObserver
Observer in charge for indexing contents when synchronized (default workspace only)
-
-
Field Summary
-
Fields inherited from class org.ametys.cms.content.indexing.solr.observation.IndexContentObserver
_context, _solrClientProvider, _solrIndexer, _solrWfIndexer
-
Fields inherited from interface org.ametys.core.observation.Observer
MAX_PRIORITY, MIN_PRIORITY
-
-
Constructor Summary
Constructors Constructor Description IndexSynchronizedContentObserver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
supports(Event event)
Checks if the event is supported.-
Methods inherited from class org.ametys.cms.content.indexing.solr.observation.IndexContentObserver
contextualize, getPriority, index, observe, service
-
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.ametys.core.observation.AsyncObserver
parallelizable
-
-
-
-
Constructor Detail
-
IndexSynchronizedContentObserver
public IndexSynchronizedContentObserver()
-
-
Method Detail
-
supports
public boolean supports(Event event)
Description copied from interface:Observer
Checks if the event is supported. If true, the observe(Event) method will be called.- Specified by:
supports
in interfaceObserver
- Overrides:
supports
in classIndexContentObserver
- Parameters:
event
- the event.- Returns:
true
for observing this event,false
otherwise.
-
-