Class UpdatePropertiesAction
- java.lang.Object
-
- org.apache.unomi.plugins.baseplugin.actions.UpdatePropertiesAction
-
- All Implemented Interfaces:
ActionExecutor
public class UpdatePropertiesAction extends Object implements ActionExecutor
-
-
Field Summary
Fields Modifier and Type Field Description static String
PROPS_TO_ADD
static String
PROPS_TO_ADD_TO_SET
static String
PROPS_TO_DELETE
static String
PROPS_TO_UPDATE
static String
TARGET_ID_KEY
static String
TARGET_TYPE_KEY
static String
TARGET_TYPE_PROFILE
-
Constructor Summary
Constructors Constructor Description UpdatePropertiesAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
execute(Action action, Event event)
void
setEventService(EventService eventService)
void
setProfileService(ProfileService profileService)
-
-
-
Field Detail
-
PROPS_TO_ADD
public static final String PROPS_TO_ADD
- See Also:
- Constant Field Values
-
PROPS_TO_UPDATE
public static final String PROPS_TO_UPDATE
- See Also:
- Constant Field Values
-
PROPS_TO_DELETE
public static final String PROPS_TO_DELETE
- See Also:
- Constant Field Values
-
PROPS_TO_ADD_TO_SET
public static final String PROPS_TO_ADD_TO_SET
- See Also:
- Constant Field Values
-
TARGET_ID_KEY
public static final String TARGET_ID_KEY
- See Also:
- Constant Field Values
-
TARGET_TYPE_KEY
public static final String TARGET_TYPE_KEY
- See Also:
- Constant Field Values
-
TARGET_TYPE_PROFILE
public static final String TARGET_TYPE_PROFILE
- See Also:
- Constant Field Values
-
-
Method Detail
-
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
-
setProfileService
public void setProfileService(ProfileService profileService)
-
setEventService
public void setEventService(EventService eventService)
-
-