Class TrainedNotificationAction

java.lang.Object
org.apache.unomi.training.TrainedNotificationAction
All Implemented Interfaces:
ActionExecutor

public class TrainedNotificationAction extends Object implements ActionExecutor
Created by amidani on 11/04/2017.
  • Constructor Details

    • TrainedNotificationAction

      public TrainedNotificationAction()
  • Method Details

    • setProfileService

      public void setProfileService(ProfileService service)
    • 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