Class EvaluateProfileAgeAction

  • All Implemented Interfaces:

    public class EvaluateProfileAgeAction
    extends Object
    implements ActionExecutor
    An action that sets the age of a profile based on his birth date
    • Constructor Detail

      • EvaluateProfileAgeAction

        public EvaluateProfileAgeAction()
    • 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
        action - the Action to execute
        event - the Event that triggered the action
        an integer status corresponding to what happened as defined by public constants of EventService