Class EvaluateVisitPropertiesAction

  • All Implemented Interfaces:
    ActionExecutor

    public class EvaluateVisitPropertiesAction
    extends Object
    implements 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 Detail

      • EvaluateVisitPropertiesAction

        public EvaluateVisitPropertiesAction()
    • Method Detail

      • execute

        public int execute​(Action action,
                           Event event)
        Description copied from interface: ActionExecutor
        Executes a specified Action, given a triggering Event.
        Specified by:
        execute in interface ActionExecutor
        Parameters:
        action - the Action to execute
        event - the Event that triggered the action
        Returns:
        an integer status corresponding to what happened as defined by public constants of EventService