Class IncrementTweetNumberAction
- java.lang.Object
-
- org.apache.unomi.samples.tweet_button_plugin.actions.IncrementTweetNumberAction
-
- All Implemented Interfaces:
ActionExecutor
public class IncrementTweetNumberAction extends Object implements ActionExecutor
Increments the number of times the user associated with the profile tweeted.
-
-
Constructor Summary
Constructors Constructor Description IncrementTweetNumberAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
execute(Action action, Event event)
void
setProfileService(ProfileService service)
-
-
-
Method Detail
-
execute
public int execute(Action action, Event event)
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
-
setProfileService
public void setProfileService(ProfileService service)
-
-