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
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
-
Method Summary
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 Details
-
IndexSynchronizedContentObserver
public IndexSynchronizedContentObserver()
-
-
Method Details
-
supports
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.
-