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 StringPROPS_TO_ADDstatic StringPROPS_TO_ADD_TO_SETstatic StringPROPS_TO_DELETEstatic StringPROPS_TO_UPDATEstatic StringTARGET_ID_KEYstatic StringTARGET_TYPE_KEYstatic StringTARGET_TYPE_PROFILE
-
Constructor Summary
Constructors Constructor Description UpdatePropertiesAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intexecute(Action action, Event event)voidsetEventService(EventService eventService)voidsetProfileService(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:
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
-
setProfileService
public void setProfileService(ProfileService profileService)
-
setEventService
public void setEventService(EventService eventService)
-
-