Class IncrementTweetNumberAction

  • All Implemented Interfaces:

    public class IncrementTweetNumberAction
    extends Object
    implements ActionExecutor
    Increments the number of times the user associated with the profile tweeted.
    • Constructor Detail

      • IncrementTweetNumberAction

        public IncrementTweetNumberAction()
    • 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
      • setProfileService

        public void setProfileService​(ProfileService service)