public abstract class BrowseNodeEventHandlerSupport extends org.sonatype.goodies.lifecycle.LifecycleSupport implements BrowseNodeEventHandler
Constructor and Description |
---|
BrowseNodeEventHandlerSupport() |
Modifier and Type | Method and Description |
---|---|
void |
pauseEventProcessing()
pause processing of events, once this happens, rebuilding browse nodes manually (via the task) will be required
after resuming processing
|
void |
resumeEventProcessing()
resume processing, with the knowledge that anything added while in the paused state did not get added to browse
|
boolean |
shouldHandle()
event handling should only be carried out if this is true
|
public boolean shouldHandle()
BrowseNodeEventHandler
shouldHandle
in interface BrowseNodeEventHandler
public void pauseEventProcessing()
BrowseNodeEventHandler
pauseEventProcessing
in interface BrowseNodeEventHandler
public void resumeEventProcessing()
BrowseNodeEventHandler
resumeEventProcessing
in interface BrowseNodeEventHandler
Copyright © 2008–2021 Sonatype, Inc.. All rights reserved.