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 int
execute(Action action, Event event)
void
setDefinitionsService(DefinitionsService definitionsService)
void
setPersistenceService(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:
execute
in interfaceActionExecutor
- Parameters:
action
- theAction
to executeevent
- theEvent
that triggered the action- Returns:
- an integer status corresponding to what happened as defined by public constants of
EventService
-
-