Class EvaluateVisitPropertiesAction
java.lang.Object
org.apache.unomi.plugins.baseplugin.actions.EvaluateVisitPropertiesAction
- All Implemented Interfaces:
ActionExecutor
This action is used to calculate the firstVisit, lastVisit and previousVisit date properties on the profile
Depending on the event timestamp it will adjust one or multiples of this properties accordingly to the logical chronology.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
EvaluateVisitPropertiesAction
public EvaluateVisitPropertiesAction()
-
-
Method Details
-
execute
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
-