Class SetEventOccurenceCountAction
- java.lang.Object
-
- org.apache.unomi.plugins.baseplugin.actions.SetEventOccurenceCountAction
-
- All Implemented Interfaces:
ActionExecutor
public class SetEventOccurenceCountAction extends Object implements ActionExecutor
-
-
Constructor Summary
Constructors Constructor Description SetEventOccurenceCountAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intexecute(Action action, Event event)voidsetDefinitionsService(DefinitionsService definitionsService)voidsetPersistenceService(PersistenceService persistenceService)
-
-
-
Method Detail
-
setDefinitionsService
public void setDefinitionsService(DefinitionsService definitionsService)
-
setPersistenceService
public void setPersistenceService(PersistenceService persistenceService)
-
execute
public int execute(Action action, Event event)
Description copied from interface:ActionExecutor- Specified by:
executein interfaceActionExecutor- Parameters:
action- theActionto executeevent- theEventthat triggered the action- Returns:
- an integer status corresponding to what happened as defined by public constants of
EventService
-
-