Package org.apache.unomi.lists.actions
Class AddToListsAction
- java.lang.Object
-
- org.apache.unomi.lists.actions.AddToListsAction
-
- All Implemented Interfaces:
ActionExecutor
public class AddToListsAction extends Object implements ActionExecutor
A rule action that can add a profile to a list
-
-
Constructor Summary
Constructors Constructor Description AddToListsAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intexecute(Action action, Event event)voidsetEventService(EventService eventService)voidsetProfileService(ProfileService profileService)
-
-
-
Method Detail
-
setProfileService
public void setProfileService(ProfileService profileService)
-
setEventService
public void setEventService(EventService eventService)
-
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
-
-